23 lines
521 B
Plaintext
23 lines
521 B
Plaintext
[supervisord]
|
|
nodaemon=true
|
|
|
|
[program:flask]
|
|
command=gunicorn -w 4 -b 0.0.0.0:5000 telezab:app
|
|
directory=/app
|
|
autostart=true
|
|
autorestart=true
|
|
stderr_logfile=/app/logs/supervisord_flask.err.log
|
|
stdout_logfile=/app/logs/supervisord_flask.out.log
|
|
environment=FLASK_ENV=production
|
|
user=root
|
|
group=root
|
|
|
|
[program:telezab]
|
|
command=python /app/telezab.py
|
|
directory=/app
|
|
autostart=true
|
|
autorestart=true
|
|
stderr_logfile=/app/logs/supervisord_telezab.err.log
|
|
stdout_logfile=/app/logs/supervisord_telezab.out.log
|
|
user=root
|
|
group=root |