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