1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/docker/supervisor.conf

31 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
[unix_http_server]
file=/var/run/supervisor.sock ; path to your socket file
[supervisord]
nodaemon=true ; dont run supervisord as a daemon
logfile=/var/log/supervisor/supervisord.log ; supervisord log file
logfile_maxbytes=10MB ; maximum size of logfile before rotation
2016-04-11 20:24:09 +02:00
logfile_backups=100 ; number of backed up logfiles
2016-03-23 18:39:41 +01:00
loglevel=info ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
user=root ; default user
childlogdir=/var/log/supervisor/ ; where child log files will live
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
[program:nginx]
command=nginx -g "daemon off;"
stderr_logfile=/var/log/supervisor/nginx-stderr.log
stdout_logfile=/var/log/supervisor/nginx-stdout.log
[program:app]
command=bundle exec puma -b unix:///usr/src/app/tmp/sockets/fabmanager.sock --pidfile /usr/src/app/tmp/pids/fabmanager.pid
stderr_logfile=/var/log/supervisor/app-stderr.log
stdout_logfile=/var/log/supervisor/app-stdout.log
[program:worker]
command=bundle exec sidekiq -C /usr/src/app/config/sidekiq.yml
stderr_logfile=/var/log/supervisor/worker-stderr.log
stdout_logfile=/var/log/supervisor/worker-stdout.log