Compare commits
2 Commits
f0e68ba1d5
...
99fdef2393
Author | SHA1 | Date |
---|---|---|
3wc | 99fdef2393 | |
3wc | 53b7cf592c |
19
compose.yml
19
compose.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue