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