gitea: update constraints

master
Jef Roosens 2023-08-26 18:16:25 +02:00
parent cf255a0b1a
commit 5a51f5fe15
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ services:
replicas: 1 replicas: 1
placement: placement:
constraints: constraints:
- 'node.labels.class==gitea' - 'node.labels.class.gitea==true'
labels: labels:
- 'traefik.enable=true' - 'traefik.enable=true'
- 'traefik.http.routers.gitea.rule=Host(`git.rustybever.be`)' - 'traefik.http.routers.gitea.rule=Host(`git.rustybever.be`)'
@ -38,7 +38,7 @@ services:
replicas: 1 replicas: 1
placement: placement:
constraints: constraints:
- 'node.labels.class==gitea' - 'node.labels.class.gitea==true'
healthcheck: healthcheck:
test: pg_isready -U gitea test: pg_isready -U gitea