nextcloud: update healthcheck and dissable adminier

This commit is contained in:
Florian Zirker 2023-12-15 15:13:34 +01:00
parent c679e2b813
commit 50423a0217

View file

@ -11,10 +11,10 @@ services:
networks:
- web
- nextcloud
healthcheck:
test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
interval: 5s
timeout: 3s
# healthcheck:
# test: curl -sSf 'http://localhost/status.php' | grep '"installed":true' | grep '"maintenance":false' | grep '"needsDbUpgrade":false' || exit 1
# interval: 5s
# timeout: 3s
labels:
- "traefik.enable=true"
- "traefik.http.routers.nextcloud.rule=Host(`cloud.${DOMAIN}`)"
@ -138,26 +138,26 @@ services:
- "docker.group=netxtcloud"
adminer:
image: adminer
restart: unless-stopped
networks:
- web
- mariadb
environment:
- ADMINER_DEFAULT_SERVER=db
- ADMINER_DESIGN=flat
depends_on:
- db
labels:
- "traefik.enable=true"
- "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)"
- "traefik.http.routers.adminer.entrypoints=websecure"
- "traefik.http.routers.adminer.tls.certresolver=netcup"
- "traefik.http.routers.adminer.tls.options=intermediate@file"
- "traefik.http.routers.adminer.middlewares=adminerauth"
- "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
- "docker.group=netxtcloud"
# adminer:
# image: adminer
# restart: unless-stopped
# networks:
# - web
# - mariadb
# environment:
# - ADMINER_DEFAULT_SERVER=db
# - ADMINER_DESIGN=flat
# depends_on:
# - db
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN}`)"
# - "traefik.http.routers.adminer.entrypoints=websecure"
# - "traefik.http.routers.adminer.tls.certresolver=netcup"
# - "traefik.http.routers.adminer.tls.options=intermediate@file"
# - "traefik.http.routers.adminer.middlewares=adminerauth"
# - "traefik.http.middlewares.adminerauth.basicauth.users=${HTPASSWD_ADMINER}"
# - "docker.group=netxtcloud"
redis: