File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ services:
34
34
PHP_OPCACHE_ENABLE : " 1"
35
35
AUTORUN_ENABLED : " true" # 👈 Remove this line if you don't want Laravel Automations
36
36
APP_ENV : " ${SPIN_DEPLOYMENT_ENVIRONMENT}" # 👈 Remove this if you're not using `spin deploy`
37
+ HEALTHCHECK_PATH : " /up" # Use Laravel's built-in health route
37
38
networks :
38
39
- web-public
39
40
volumes :
@@ -66,7 +67,7 @@ services:
66
67
- " traefik.http.services.my-php-app.loadbalancer.server.port=8080"
67
68
- " traefik.http.services.my-php-app.loadbalancer.server.scheme=http"
68
69
# Health check
69
- - " traefik.http.services.my-php-app.loadbalancer.healthcheck.path=/healthcheck "
70
+ - " traefik.http.services.my-php-app.loadbalancer.healthcheck.path=/up "
70
71
- " traefik.http.services.my-php-app.loadbalancer.healthcheck.interval=30s"
71
72
- " traefik.http.services.my-php-app.loadbalancer.healthcheck.timeout=5s"
72
73
- " traefik.http.services.my-php-app.loadbalancer.healthcheck.scheme=http"
You can’t perform that action at this time.
0 commit comments