From a7f29d3879ddfd75cd3eb651b579e13761caff3c Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 28 Jan 2024 19:19:45 +0000 Subject: [PATCH] Update stack.production.yml --- stack.production.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/stack.production.yml b/stack.production.yml index 2777e57..e74bc29 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -18,7 +18,9 @@ services: - 1.1.1.1 - 9.9.9.9 deploy: - mode: global + placement: + constraints: + - node.hostname == macmini14 labels: traefik.enable: "true" traefik.http.routers.production-netdata.rule: "Host(`netdata.nixc.us`)" @@ -39,10 +41,7 @@ services: networks: - netdata-network deploy: - replicas: 1 - placement: - constraints: - - node.hostname == macmini7 + mode: global networks: traefik: