Skip to content

Commit

Permalink
fix: Refactor supervisord configuration to disable unnecessary progra…
Browse files Browse the repository at this point in the history
…ms and improve clarity
  • Loading branch information
MrAnyx committed Jan 3, 2025
1 parent 8984122 commit 37d1176
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions .docker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,37 @@ nodaemon=true
logfile=/dev/null
logfile_maxbytes=0

[program:apache]
command=apache2-foreground
[program:env]
command=env
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=true
startsecs=0
autostart=true
startretries=10

[program:messenger-consume]
command=source /etc/environment && php /var/www/html/bin/console messenger:consume async --time-limit=3600
numprocs=2
autorestart=false
startsecs=10
autostart=true
autorestart=true
startretries=10
process_name=%(program_name)s_%(process_num)02d
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

# [program:apache]
# command=apache2-foreground
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# stderr_logfile=/dev/stderr
# stderr_logfile_maxbytes=0
# autorestart=true
# startsecs=0
# autostart=true
# startretries=10

# [program:messenger-consume]
# command=php /var/www/html/bin/console messenger:consume async --time-limit=3600
# numprocs=2
# startsecs=10
# autostart=true
# autorestart=true
# startretries=10
# process_name=%(program_name)s_%(process_num)02d
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# stderr_logfile=/dev/stderr
# stderr_logfile_maxbytes=0

0 comments on commit 37d1176

Please sign in to comment.