mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-19 05:33:59 +03:00
Compare commits
1 Commits
docker/log
...
docker/hea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a41804097 |
@@ -93,7 +93,7 @@ COPY docker/crontab /etc/crontabs/crontab
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
COPY docker/healthcheck.sh /healthcheck.sh
|
||||
|
||||
HEALTHCHECK --interval=5m --timeout=10s --start-period=5s --retries=3 \
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=2m --retries=3 \
|
||||
CMD /bin/ash /healthcheck.sh
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
@@ -99,7 +99,7 @@ COPY docker/crontab /etc/crontabs/crontab
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
COPY docker/healthcheck.sh /healthcheck.sh
|
||||
|
||||
HEALTHCHECK --interval=5m --timeout=10s --start-period=5s --retries=3 \
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=2m --retries=3 \
|
||||
CMD /bin/ash /healthcheck.sh
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/bin/ash -e
|
||||
|
||||
if [ ${SKIP_CADDY} ! "true" ]; then
|
||||
curl -f http://localhost/up || exit 1
|
||||
if [ "${SKIP_CADDY:-false}" != "true" ]; then
|
||||
curl -sf http://localhost/up || exit 1
|
||||
fi
|
||||
|
||||
cgi-fcgi -bind -connect 127.0.0.1:9000 || exit 2
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
||||
@@ -25,20 +25,11 @@ password=dummy
|
||||
command=/usr/local/sbin/php-fpm -F
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
redirect_stderr=true
|
||||
|
||||
[program:queue-worker]
|
||||
command=/usr/local/bin/php /var/www/html/artisan queue:work --tries=3 --max-time=3600
|
||||
command=/usr/local/bin/php /var/www/html/artisan queue:work --tries=3
|
||||
autostart=true
|
||||
autorestart=true
|
||||
; give running jobs time to finish on shutdown instead of killing them
|
||||
; after supervisord's 10 second default
|
||||
stopwaitsecs=3600
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
redirect_stderr=true
|
||||
|
||||
[program:caddy]
|
||||
command=caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
||||
@@ -53,6 +44,4 @@ redirect_stderr=true
|
||||
command=supercronic -overlapping /etc/crontabs/crontab
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
redirect_stderr=true
|
||||
|
||||
Reference in New Issue
Block a user