Skip to content

Commit

Permalink
api
Browse files Browse the repository at this point in the history
  • Loading branch information
satterly committed Apr 7, 2024
1 parent c87822f commit 19efda9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions config/templates/app/gunicorn.conf.py.j2
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

bind = '127.0.0.1:29000'
worker_tmp_dir = '/dev/shm'
workers = {{ env.GUNICORN_WORKERS }}

chdir = '/app'
daemon = False
raw_env = [
"SCRIPT_NAME=/api",
'SCRIPT_NAME=/api',
]
worker_tmp_dir = '/dev/shm'
workers = {{ env.GUNICORN_WORKERS }}

{%- if env.DEBUG %}
loglevel = 'debug'
Expand Down
1 change: 0 additions & 1 deletion config/templates/app/supervisord.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pidfile=/tmp/supervisord.pid

[program:gunicorn]
command=/venv/bin/gunicorn wsgi:app -c /app/gunicorn.conf.py
directory=/app
autostart=true
autorestart=true
redirect_stderr=true
Expand Down

0 comments on commit 19efda9

Please sign in to comment.