Update traefik config + labels on services
see https://cloud.gnous.fr/apps/deck/#/board/4/card/196
This commit is contained in:
13 files changed
+37
-138
No files matched your search
@@ -21,16 +21,9 @@ services:
|
||||
- ${DATA_PATH}/data:/var/opt/gitlab
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.gitlab-https.service=app"
|
||||
- "traefik.http.routers.gitlab.service=app"
|
||||
- "traefik.http.services.app.loadbalancer.server.port=80"
|
||||
- "traefik.http.middlewares.gitlab-redirect-websecure.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.gitlab-http.middlewares=gitlab-redirect-websecure"
|
||||
- "traefik.http.routers.gitlab-http.rule=Host(`${CN}`)"
|
||||
- "traefik.http.routers.gitlab-http.entrypoints=web"
|
||||
- "traefik.http.routers.gitlab-https.rule=Host(`${CN}`)"
|
||||
- "traefik.http.routers.gitlab-https.entrypoints=websecure"
|
||||
- "traefik.http.routers.gitlab-https.tls=true"
|
||||
- "traefik.http.routers.gitlab-https.tls.certresolver=myhttpchallenge"
|
||||
- "traefik.http.routers.gitlab.rule=Host(`${CN}`)"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
||||
Reference in new issue
Block a user