can get device id
This commit is contained in:
+23
-15
@@ -8,15 +8,19 @@ services:
|
||||
- sync1
|
||||
- sync2
|
||||
volumes:
|
||||
- sync1data:/data1
|
||||
- sync2data:/data2
|
||||
- sync1data:/data1
|
||||
- sync2data:/data2
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
sut1:
|
||||
build: .
|
||||
links:
|
||||
- sync1
|
||||
- sync1:sync
|
||||
volumes:
|
||||
- sync1config:/config:ro
|
||||
- sync1config:/config
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
sync1:
|
||||
image: ghcr.io/linuxserver/syncthing:${SYNCTHING_VERSION}
|
||||
@@ -27,15 +31,17 @@ services:
|
||||
volumes:
|
||||
- sync1config:/config
|
||||
- sync1data:/data
|
||||
ports:
|
||||
- ${SYNC1_LISTEN_PORT}:22000
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
sut2:
|
||||
build: .
|
||||
links:
|
||||
- sync2
|
||||
- sync2:sync
|
||||
volumes:
|
||||
- sync2config:/config:ro
|
||||
- sync2config:/config
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
sync2:
|
||||
image: ghcr.io/linuxserver/syncthing:${SYNCTHING_VERSION}
|
||||
@@ -46,21 +52,23 @@ services:
|
||||
volumes:
|
||||
- sync2config:/config
|
||||
- sync2data:/data
|
||||
ports:
|
||||
- ${SYNC2_LISTEN_PORT}:22000
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
etcd:
|
||||
image: quay.io/coreos/etcd
|
||||
command: /usr/local/bin/etcd --data-dir=/etcd-data
|
||||
ports:
|
||||
- 2379:2379
|
||||
- 2380:2380
|
||||
volumes:
|
||||
- etcd-data:/etcd-data
|
||||
- etcd-data:/etcd-data
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
volumes:
|
||||
sync1data:
|
||||
sync1config:
|
||||
sync2data:
|
||||
sync2config:
|
||||
etcd-data:
|
||||
etcd-data:
|
||||
|
||||
networks:
|
||||
syncnet:
|
||||
Reference in New Issue
Block a user