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

+3 -10
View File
@@ -27,16 +27,9 @@ services:
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.services.gitea-web-svc.loadbalancer.server.port=3000"
- "traefik.http.routers.git-https.service=gitea-web-svc"
- "traefik.http.middlewares.git-redirect-websecure.redirectscheme.scheme=https"
- "traefik.http.routers.git-http.middlewares=git-redirect-websecure"
- "traefik.http.routers.git-http.rule=Host(`${CN}`)"
- "traefik.http.routers.git-http.entrypoints=web"
- "traefik.http.routers.git-https.rule=Host(`${CN}`)"
- "traefik.http.routers.git-https.entrypoints=websecure"
- "traefik.http.routers.git-https.tls=true"
- "traefik.http.routers.git-https.tls.certresolver=myhttpchallenge"
- "traefik.http.services.gitea-svc.loadbalancer.server.port=3000"
- "traefik.http.routers.gitea.service=gitea-svc"
- "traefik.http.routers.gitea.rule=Host(`${CN}`)"
db:
image: postgres:13.5