Change deploy.update_config for zero-downtime deployments 🤘
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5a58735a55
commit
fbcd1e8616
|
@ -30,8 +30,9 @@ services:
|
|||
- hub_token
|
||||
# - spoke_host_token
|
||||
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=5000"
|
||||
|
@ -50,7 +51,7 @@ services:
|
|||
start_period: 1m
|
||||
|
||||
db:
|
||||
image: "postgres:9.6.5"
|
||||
image: "postgres:9.6.5-alpine"
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue