mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-07 06:05:19 +02:00
refactor docker startup to use supervisord
This commit is contained in:
parent
dbd417ca87
commit
4ccfa6e42c
4 changed files with 22 additions and 6 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue