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

28 lines
1.2 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:app]
2016-09-06 12:19:47 +02:00
command=bundle exec rails s puma -p 3000 -b 0.0.0.0
2016-03-23 18:39:41 +01:00
stderr_logfile=/var/log/supervisor/app-stderr.log
stdout_logfile=/var/log/supervisor/app-stdout.log
2017-03-07 14:04:35 +01:00
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=100
2016-03-23 18:39:41 +01:00
[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