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