diff --git a/docker/supervisor.conf b/docker/supervisor.conf index fcd84d226..6d1845d52 100644 --- a/docker/supervisor.conf +++ b/docker/supervisor.conf @@ -18,6 +18,8 @@ serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix command=bundle exec rails s puma -p 3000 -b 0.0.0.0 stderr_logfile=/var/log/supervisor/app-stderr.log stdout_logfile=/var/log/supervisor/app-stdout.log +stdout_logfile_maxbytes=50MB +stdout_logfile_backups=100 [program:worker] command=bundle exec sidekiq -C /usr/src/app/config/sidekiq.yml