refactor docker startup to use supervisord
This commit is contained in:
10
backend/supervisord.conf
Normal file
10
backend/supervisord.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[program:nginx]
|
||||
command=/usr/sbin/nginx -g "daemon off;"
|
||||
autorestart=true
|
||||
|
||||
[program:gunicorn]
|
||||
command=/code/entrypoint.sh
|
||||
autorestart=true
|
||||
Reference in New Issue
Block a user