mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-05 10:51:21 +00:00
27 lines
575 B
Plaintext
27 lines
575 B
Plaintext
[supervisord]
|
|
user=root
|
|
logfile = /tmp/supervisord.log
|
|
loglevel = debug
|
|
pidfile = /tmp/supervisord.pid
|
|
|
|
[inet_http_server]
|
|
port = 127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s
|
|
|
|
[rpcinterface:supervisor]
|
|
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
|
[supervisorctl]
|
|
serverurl=http://127.0.0.1:%(ENV_TFW_SUPERVISOR_HTTP_PORT)s
|
|
|
|
[program:nginx]
|
|
command=/usr/sbin/nginx -g 'daemon off;'
|
|
autostart=true
|
|
autorestart=true
|
|
|
|
[program:app]
|
|
directory=%(ENV_TFW_APP_DIR)s
|
|
command=python3 app.py
|
|
|
|
[include]
|
|
files=%(ENV_TFW_SUPERVISORD_COMPONENTS)s/*.conf
|