nextcloud, oci-registry, unifi: fix "depends_on"

This commit is contained in:
Michael Grote 2024-03-20 09:34:58 +01:00
parent 0f94bf7f50
commit b0272ef3a7
3 changed files with 5 additions and 1 deletions

View file

@ -74,6 +74,7 @@ services:
depends_on: depends_on:
- nextcloud-db - nextcloud-db
- nextcloud-redis - nextcloud-redis
- nextcloud-cron
environment: environment:
REDIS_HOST: nextcloud-redis REDIS_HOST: nextcloud-redis
REDIS_HOST_PASSWORD: "{{ lookup('keepass', 'nextcloud_redis_host_password', 'password') }}" REDIS_HOST_PASSWORD: "{{ lookup('keepass', 'nextcloud_redis_host_password', 'password') }}"

View file

@ -11,7 +11,6 @@ services:
- traefik - traefik
- intern - intern
depends_on: depends_on:
- oci-registry-ui
- oci-registry-redis - oci-registry-redis
healthcheck: healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:5000/v2/"] test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:5000/v2/"]
@ -79,6 +78,8 @@ services:
SHOW_CONTENT_DIGEST: true # https://github.com/Joxit/docker-registry-ui/issues/297 SHOW_CONTENT_DIGEST: true # https://github.com/Joxit/docker-registry-ui/issues/297
SHOW_CATALOG_NB_TAGS: true SHOW_CATALOG_NB_TAGS: true
PULL_URL: registry.mgrote.net PULL_URL: registry.mgrote.net
depends_on:
- oci-registry
networks: networks:
- traefik - traefik
- intern - intern

View file

@ -36,6 +36,8 @@ services:
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
depends_on:
- unifi-db
unifi-db: unifi-db:
# Starte Container OHNE init-script # Starte Container OHNE init-script