diff --git a/docker-compose.selfhost.yml b/docker-compose.selfhost.yml index 3f7fce8..e71b729 100644 --- a/docker-compose.selfhost.yml +++ b/docker-compose.selfhost.yml @@ -159,18 +159,16 @@ services: ENABLE_FACE_RECOGNITION: ${SEAFILE_ENABLE_FACE_RECOGNITION:-false} MD_FILE_COUNT_LIMIT: ${SEAFILE_MD_FILE_COUNT_LIMIT:-100000} healthcheck: - test: ["CMD-SHELL", "curl -f http://localhost:80 || exit 1"] + test: ["CMD-SHELL", "curl -fsS -o /dev/null http://localhost:80/files/ || exit 1"] interval: 30s timeout: 10s retries: 3 start_period: 30s labels: - traefik.enable=true - - traefik.http.middlewares.fedeo-seafile-strip.stripprefix.prefixes=/files - traefik.http.routers.fedeo-seafile.rule=Host(`${DOMAIN}`) && PathPrefix(`/files`) - traefik.http.routers.fedeo-seafile.entrypoints=websecure - traefik.http.routers.fedeo-seafile.tls.certresolver=letsencrypt - - traefik.http.routers.fedeo-seafile.middlewares=fedeo-seafile-strip - traefik.http.routers.fedeo-seafile.priority=100 - traefik.http.services.fedeo-seafile.loadbalancer.server.port=80 - traefik.docker.network=fedeo_web