baseimage-tutorial-framework/supervisord.conf

26 lines
565 B
Plaintext
Raw Normal View History

2017-11-21 12:19:37 +00:00
[supervisord]
user=user
logfile = /tmp/supervisord.log
loglevel = DEBUG
pidfile = /tmp/supervisord.pid
[unix_http_server]
file=/tmp/supervisor.sock
2018-01-10 15:31:36 +00:00
[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=unix:///tmp/supervisor.sock
2017-11-21 12:19:37 +00:00
[program:app]
directory=%(ENV_TFW_APP_DIR)s
command=env python app.py
[program:event_handler_main]
directory=%(ENV_TFW_EVENT_HANDLERS_DIR)s
command=env python event_handler_main.py