From 42c21810d909dd8bc56c29c288a9f18a5d1a9119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 25 Oct 2024 09:28:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docker-compose-pwd.yml?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=20syncthing=20=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E7=BD=B2=E5=89=AF=E6=9C=AC=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stacks/syncthing/docker-compose-pwd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stacks/syncthing/docker-compose-pwd.yml b/stacks/syncthing/docker-compose-pwd.yml index 0bb3b17..8758d18 100644 --- a/stacks/syncthing/docker-compose-pwd.yml +++ b/stacks/syncthing/docker-compose-pwd.yml @@ -14,6 +14,8 @@ x-common-configuration: &common-configuration retries: 3 services: syncthing-1: + deploy: + replicas: 1 <<: *common-configuration hostname: my-syncthing-1 volumes: @@ -22,6 +24,8 @@ services: ports: - 28001:8384 syncthing-2: + deploy: + replicas: 1 depends_on: - syncthing-1 <<: *common-configuration