From 22854535e671e5f1b3032188a00dae1145cb3d43 Mon Sep 17 00:00:00 2001 From: giles Date: Thu, 21 Nov 2024 19:54:21 +0000 Subject: [PATCH] deploy-node --- docker-compose.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 56aa963..89644c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,6 +15,10 @@ services: secrets: - email - db-password + deploy: + placement: + constraints: [node.labels.node == production ] + invite-token: image: invite-token environment: @@ -26,8 +30,9 @@ services: networks: - appnet - externalnet - #ports: - # - 3002:3002 + deploy: + placement: + constraints: [node.labels.node == production ] db: image: rose-ash-mysql:latest @@ -43,6 +48,9 @@ services: secrets: - db-password - db-root-password + deploy: + placement: + constraints: [node.labels.node == production ] volumes: ghost-content: ghost-config: