reenable healthcheck, formatting
This commit is contained in:
parent
d3dc008f5b
commit
9a7723167f
19
compose.yml
19
compose.yml
|
@ -27,12 +27,12 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}_api.rule=Host(`${DOMAIN}`) && PathPrefix(`/api/v1`, `/dav/`, `/.well-known/`)"
|
||||
- "traefik.http.routers.${STACK_NAME}_api.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}_api.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
# healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost:3456"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:3456" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 1m
|
||||
|
||||
app:
|
||||
image: vikunja/frontend
|
||||
|
@ -49,7 +49,7 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version="
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
test: [ "CMD", "curl", "-f", "http://localhost" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
|
@ -69,7 +69,7 @@ services:
|
|||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-U", "vikunja"]
|
||||
test: [ "CMD", "pg_isready", "-U", "vikunja" ]
|
||||
networks:
|
||||
- internal
|
||||
secrets:
|
||||
|
@ -83,16 +83,17 @@ services:
|
|||
backupbot.backup.post-hook: "rm -rf /tmp/backup"
|
||||
backupbot.backup.path: "/tmp/backup/"
|
||||
|
||||
|
||||
volumes:
|
||||
files:
|
||||
db:
|
||||
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
|
||||
configs:
|
||||
config_yml:
|
||||
name: ${STACK_NAME}_config_yml_${CONFIG_YML_VERSION}
|
||||
|
|
Loading…
Reference in New Issue