can update etcd with device id
This commit is contained in:
@@ -19,6 +19,7 @@ services:
|
||||
- sync1:sync
|
||||
volumes:
|
||||
- sync1config:/config
|
||||
- etcd
|
||||
networks:
|
||||
- syncnet
|
||||
|
||||
@@ -38,6 +39,7 @@ services:
|
||||
build: .
|
||||
links:
|
||||
- sync2:sync
|
||||
- etcd
|
||||
volumes:
|
||||
- sync2config:/config
|
||||
networks:
|
||||
@@ -57,7 +59,7 @@ services:
|
||||
|
||||
etcd:
|
||||
image: quay.io/coreos/etcd
|
||||
command: /usr/local/bin/etcd --data-dir=/etcd-data
|
||||
command: /usr/local/bin/etcd --data-dir=/etcd-data --advertise-client-urls http://etcd:2379 --listen-client-urls=http://0.0.0.0:2379
|
||||
volumes:
|
||||
- etcd-data:/etcd-data
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user