更新 docker-compose-pwd.yml,添加 syncthing 服务的部署副本配置

This commit is contained in:
严浩
2024-10-25 09:28:30 +08:00
parent f17df34f81
commit 42c21810d9

View File

@ -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