Skip to content

Commit

Permalink
docker: Wait 3 secs for each process, and fix caddy supervisor unit
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Sep 23, 2024
1 parent 396a7ce commit f62f287
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions var/docker/supervisord/backend.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ autorestart=false
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
startsecs=10
3 changes: 2 additions & 1 deletion var/docker/supervisord/caddy.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[program:backend]
[program:caddy]
directory=/app
command=caddy run --config /app/Caddyfile
autostart=true
autorestart=false
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
startsecs=3
1 change: 1 addition & 0 deletions var/docker/supervisord/cron.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ autorestart=false
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
startsecs=3
1 change: 1 addition & 0 deletions var/docker/supervisord/frontend.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
environment=PORT=4200
startsecs=3
1 change: 1 addition & 0 deletions var/docker/supervisord/workers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ autorestart=false
redirect_stderr=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
startsecs=3

0 comments on commit f62f287

Please sign in to comment.