can get device id

This commit is contained in:
bj
2021-01-28 15:33:21 +02:00
parent 3c0eece311
commit 3d90ed0708
8 changed files with 196 additions and 22 deletions
+23 -15
View File
@@ -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: