castopod/docker/production/app/supervisord.conf
Yassine Doghri 65d74f14e6 fix: set user as www-data when running cron jobs in docker's supervisord config
This prevents any ownership issue when cron tasks create cache files
2024-11-06 13:19:59 +00:00

22 lines
433 B
Plaintext

[supervisord]
nodaemon=true
[program:supercronic]
user=www-data
command=supercronic /crontab.txt
autostart=true
autorestart=unexpected
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:fpm]
command=/usr/local/sbin/php-fpm
autostart=true
autorestart=unexpected
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0