We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fcce4 commit 3c514b6Copy full SHA for 3c514b6
1 file changed
docker-compose.yml
@@ -5,3 +5,17 @@ services:
5
container_name: asyncdb
6
ports:
7
- 8080:80
8
+ etcd:
9
+ image: quay.io/coreos/etcd:v3.5.9
10
+ container_name: etcd
11
+ environment:
12
+ - ETCD_NAME=etcd-node
13
+ - ETCD_DATA_DIR=/etcd-data
14
+ - ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
15
+ - ETCD_ADVERTISE_CLIENT_URLS=http://etcd:2379
16
+ ports:
17
+ - 2379:2379
18
+ volumes:
19
+ - /tmp/etcd-data:/etcd-data:Z
20
+ command:
21
+ - /usr/local/bin/etcd
0 commit comments