Fixed traefik labels

master
Jef Roosens 2021-12-29 20:50:20 +01:00
parent 609e149b17
commit 6b5da1a0a2
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 4 additions and 4 deletions

View File

@ -12,10 +12,10 @@ services:
- 'node.labels.class==admin' - 'node.labels.class==admin'
labels: labels:
- 'traefik.enable=true' - 'traefik.enable=true'
- 'traefik.http.routers.gitea.rule=Host(`ci.rustybever.be`)' - 'traefik.http.routers.woodpecker.rule=Host(`ci.rustybever.be`)'
- 'traefik.http.routers.gitea.tls=true' - 'traefik.http.routers.woodpecker.tls=true'
- 'traefik.http.routers.gitea.tls.certresolver=letsEncrypt' - 'traefik.http.routers.woodpecker.tls.certresolver=letsEncrypt'
- 'traefik.http.services.gitea.loadbalancer.server.port=8000' - 'traefik.http.services.woodpecker.loadbalancer.server.port=8000'
environment: environment:
- 'WOODPECKER_OPEN=true' - 'WOODPECKER_OPEN=true'