fix: restart_policy any + remove dockerfile healthcheck causing swarm complete state
Some checks failed
CI/CD → Deploy via SSH / Build & Push Docker Images (push) Successful in 43s
CI/CD → Deploy via SSH / Deploy via SSH (push) Successful in 1m1s
CI/CD → Deploy via SSH / Validate HTTPS & Endpoints (push) Failing after 45s

This commit is contained in:
MatheusAlves96 2026-04-21 01:32:06 -03:00
parent c756249690
commit b4ae2718f7
2 changed files with 6 additions and 5 deletions

View file

@ -36,7 +36,9 @@ services:
deploy:
replicas: 1
restart_policy:
condition: on-failure
condition: any
delay: 5s
max_attempts: 5
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@ -58,7 +60,9 @@ services:
deploy:
replicas: 1
restart_policy:
condition: on-failure
condition: any
delay: 5s
max_attempts: 5
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"