From 2874433cf1b812fa742c1672262b618ae57be555 Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Fri, 27 Jan 2023 12:50:47 -0600 Subject: [PATCH] placement for nginx --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 5c415b2..1d43120 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,10 @@ version: "3.8" services: proxy: image: valian/docker-nginx-auto-ssl + deploy: + placement: + constraints: + - "node.labels.web==true" restart: always ports: - 80:80