Update traefik config + labels on services

see https://cloud.gnous.fr/apps/deck/#/board/4/card/196
This commit is contained in:
thopic committed 2023-02-01 18:43:13 +01:00
1 parent f75248db24
commit ca70931184
13 files changed
+37 -138

No files matched your search

+2 -9
View File
@@ -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: