diff --git a/docker-compose.yml b/docker-compose.yml index 974d393..676eb12 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -98,9 +98,6 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - portainer_data:/data - depends_on: - authelia: - condition: service_healthy labels: - traefik.enable=true - traefik.http.routers.portainer.rule=Host(`portainer.gate.${DOMAIN}`) @@ -116,7 +113,6 @@ services: image: authelia/authelia:latest container_name: authelia restart: unless-stopped - user: "1000:1000" networks: [traefik_proxy, internal] volumes: - ./authelia:/config @@ -127,11 +123,11 @@ services: AUTHELIA_STORAGE_ENCRYPTION_KEY: "${AUTHELIA_STORAGE_ENCRYPTION_KEY}" DOMAIN: "${DOMAIN}" healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9091/api/health"] + test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:9091/api/health || exit 1"] interval: 30s timeout: 10s - retries: 3 - start_period: 40s + retries: 5 + start_period: 60s labels: - traefik.enable=true - traefik.http.routers.authelia.rule=Host(`auth.gate.${DOMAIN}`) @@ -155,9 +151,6 @@ services: volumes: - uptime_kuma_data:/app/data networks: [traefik_proxy] - depends_on: - authelia: - condition: service_healthy labels: - traefik.enable=true - traefik.http.routers.kuma.rule=Host(`uptime.gate.${DOMAIN}`)