This commit is contained in:
parent
dab061c471
commit
42c73ef5f2
2 changed files with 14 additions and 13 deletions
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681465517,
|
"lastModified": 1681648924,
|
||||||
"narHash": "sha256-EasJh15/jcJNAHtq2SGbiADRXteURAnQbj1NqBoKkzU=",
|
"narHash": "sha256-pzi3HISK8+7mpEtv08Yr80wswyHKsz+RP1CROG1Qf6s=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "abe7316dd51a313ce528972b104f4f04f56eefc4",
|
"rev": "f294325aed382b66c7a188482101b0f336d1d7db",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
21
flake.nix
21
flake.nix
|
@ -13,7 +13,7 @@
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
py = pkgs.python311.override {
|
py = pkgs.python3.override {
|
||||||
packageOverrides = final: prev: {
|
packageOverrides = final: prev: {
|
||||||
django = prev.django_4;
|
django = prev.django_4;
|
||||||
};
|
};
|
||||||
|
@ -171,20 +171,21 @@
|
||||||
name = "uwsgi.ini";
|
name = "uwsgi.ini";
|
||||||
text = ''
|
text = ''
|
||||||
[uwsgi]
|
[uwsgi]
|
||||||
master
|
buffer-size = 32768
|
||||||
|
chdir = ${self.packages.${system}.healthchecks}/app
|
||||||
die-on-term
|
die-on-term
|
||||||
http-socket = :8000
|
disable-write-exception
|
||||||
|
enable-threads
|
||||||
harakiri = 10
|
harakiri = 10
|
||||||
|
http-socket = :8000
|
||||||
|
master
|
||||||
|
module = hc.wsgi:application
|
||||||
|
plugins = python
|
||||||
post-buffering = 4096
|
post-buffering = 4096
|
||||||
processes = 4
|
processes = 4
|
||||||
enable-threads
|
|
||||||
threads = 1
|
|
||||||
chdir = ${self.packages.${system}.healthchecks}/app
|
|
||||||
module = hc.wsgi:application
|
|
||||||
thunder-lock
|
|
||||||
disable-write-exception
|
|
||||||
static-map = /static=${self.packages.${system}.healthchecks}/static
|
static-map = /static=${self.packages.${system}.healthchecks}/static
|
||||||
buffer-size = 32768
|
threads = 1
|
||||||
|
thunder-lock
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue