Update stack.production.yml

This commit is contained in:
colin 2024-01-28 19:19:45 +00:00
parent 6a1ae36e2f
commit a7f29d3879
1 changed files with 4 additions and 5 deletions

View File

@ -18,7 +18,9 @@ services:
- 1.1.1.1 - 1.1.1.1
- 9.9.9.9 - 9.9.9.9
deploy: deploy:
mode: global placement:
constraints:
- node.hostname == macmini14
labels: labels:
traefik.enable: "true" traefik.enable: "true"
traefik.http.routers.production-netdata.rule: "Host(`netdata.nixc.us`)" traefik.http.routers.production-netdata.rule: "Host(`netdata.nixc.us`)"
@ -39,10 +41,7 @@ services:
networks: networks:
- netdata-network - netdata-network
deploy: deploy:
replicas: 1 mode: global
placement:
constraints:
- node.hostname == macmini7
networks: networks:
traefik: traefik: