feat: 120 seconds timeout
This commit is contained in:
parent
e0ac12b1bb
commit
2887260830
|
|
@ -56,4 +56,6 @@ RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cac
|
||||||
ENV APP_ENV=production
|
ENV APP_ENV=production
|
||||||
ENV APP_RUNTIME=Laravel\FrankenPHP\Runtime
|
ENV APP_RUNTIME=Laravel\FrankenPHP\Runtime
|
||||||
|
|
||||||
|
HEALTHCHECK NONE
|
||||||
|
|
||||||
CMD ["sh", "-c", "php artisan migrate --force && php artisan storage:link && php artisan optimize && php artisan view:cache && php artisan event:cache && frankenphp run --config /etc/caddy/Caddyfile"]
|
CMD ["sh", "-c", "php artisan migrate --force && php artisan storage:link && php artisan optimize && php artisan view:cache && php artisan event:cache && frankenphp run --config /etc/caddy/Caddyfile"]
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
service: bemeal
|
service: bemeal
|
||||||
image: daily_meal/bemeal-api
|
image: daily_meal/bemeal-api
|
||||||
|
deploy_timeout: 120
|
||||||
|
|
||||||
x-hosts: &hosts
|
x-hosts: &hosts
|
||||||
- <%= ENV.fetch("SSH_HOST", "89.167.35.217") %>
|
- <%= ENV.fetch("SSH_HOST", "89.167.35.217") %>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue