Tweak networks, comment out healthchecks
This commit is contained in:
18
compose.yml
18
compose.yml
@ -7,7 +7,7 @@ services:
|
||||
- DB_USER_FILE=/run/secrets/db_username
|
||||
- DB_PASSWORD_FILE=/run/secrets/db_password
|
||||
- DB_DATABASE=xwiki
|
||||
- DB_HOST=db
|
||||
- DB_HOST="${STACK_NAME}_db"
|
||||
volumes:
|
||||
- xwiki-data:/usr/local/xwiki
|
||||
secrets:
|
||||
@ -15,6 +15,7 @@ services:
|
||||
- db_password
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
@ -29,14 +30,16 @@ services:
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version="
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
db:
|
||||
image: "mysql:9.1"
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
- mysql-data:/var/lib/mysql
|
||||
environment:
|
||||
@ -56,6 +59,7 @@ services:
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
volumes:
|
||||
mysql-data:
|
||||
|
Reference in New Issue
Block a user