harbor/docker-compose.yml aktualisiert
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user