0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-07 22:25:35 +00:00

Update uwsgi.ini to allow UWSGI_PROCESSES env var to override it

This commit is contained in:
Pēteris Caune 2023-10-17 10:24:20 +03:00
parent 1553a79205
commit 89aa0a832b
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
3 changed files with 8 additions and 1 deletions

View file

@ -39,6 +39,10 @@ variables in `docker/.env`. For example, to disable HTTP request logging, set:
UWSGI_DISABLE_LOGGING=1
To adjust the number of uWSGI processes (for example, to save memory), set:
UWSGI_PROCESSES=2
Read more about configuring uWSGI in [uWSGI documentation](https://uwsgi-docs.readthedocs.io/en/latest/Configuration.html#environment-variables).
## TLS Termination

View file

@ -16,7 +16,7 @@ services:
dockerfile: docker/Dockerfile
# To use a pre-built image, remove the above "build" section
# and uncomment the following line:
# image: healthchecks/healthchecks:v2.10
# image: healthchecks/healthchecks:v3.0
env_file:
- .env
ports:

View file

@ -6,6 +6,9 @@ http-socket = :8000
harakiri = 10
post-buffering = 16192
processes = 4
if-env = UWSGI_PROCESSES
processes = %(_)
endif =
auto-procname
enable-threads
threads = 1