Compare commits

...

2 Commits

Author SHA1 Message Date
3wc 99fdef2393 chore: publish 0.5.0+1.23.11 release
continuous-integration/drone/push Build is passing Details
2024-03-04 13:23:52 -03:00
3wc 53b7cf592c Add healthcheck, start-first 2024-03-04 13:22:18 -03:00
1 changed files with 10 additions and 9 deletions

View File

@ -9,8 +9,9 @@ services:
networks:
- proxy
deploy:
# restart_policy:
# condition: on-failure
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3001"
@ -21,13 +22,13 @@ services:
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.4.2+1.23.11"
# healthcheck:
# test: ["CMD-SHELL", 'curl localhost:3001']
# interval: 30s
# timeout: 10s
# retries: 5
# start_period: 2m
- "coop-cloud.${STACK_NAME}.version=0.5.0+1.23.11"
healthcheck:
test: 'curl -L localhost:3001'
interval: 30s
timeout: 10s
retries: 5
start_period: 2m
volumes:
data: