From 25aae43ef52fe74f49eb7023b8d93796c798474a Mon Sep 17 00:00:00 2001 From: Bryant He Date: Sat, 11 Jan 2025 15:50:32 +0800 Subject: [PATCH] update deploy --- docker-compose-run.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose-run.yml b/docker-compose-run.yml index 04c4dc3..77f7169 100644 --- a/docker-compose-run.yml +++ b/docker-compose-run.yml @@ -12,7 +12,7 @@ services: mode: host deploy: mode: replicated - replicas: 2 + replicas: 1 resources: reservations: cpus: '0.02' @@ -28,9 +28,9 @@ services: delay: 5s max_attempts: 1 window: 120s - placement: - constraints: - - 'node.role == worker' +# placement: +# constraints: +# - 'node.role == worker' networks: - ddk-network # pzx-web-api-2: