harbor/docker-compose.yml aktualisiert

This commit is contained in:
2026-01-02 21:02:45 +00:00
parent c598e42cb0
commit f8458f652a

View File

@@ -1,3 +1,5 @@
version: "3.9"
services:
# ---------------------------------------------------------
# 1. Init-Container: erzeugt harbor.yml (OHNE HTTPS!)
@@ -84,11 +86,9 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.harbor.entrypoints=websecure"
- "traefik.http.routers.harbor.rule=Host(`${HARBOR_HOSTNAME:-harbor.local}`)"
- "traefik.http.routers.harbor.rule=Host(`${HARBOR_HOSTNAME}`)"
- "traefik.http.routers.harbor.tls=true"
- "traefik.http.routers.harbor.tls.passthrough=false"
# Falls du Let's Encrypt nutzt:
# - "traefik.http.routers.harbor.tls.certresolver=myresolver"
- "traefik.http.routers.harbor.tls.certresolver=le"
- "traefik.http.services.harbor.loadbalancer.server.port=${HARBOR_HTTP_PORT:-8080}"
jobservice: