-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 914 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (42 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '2'
services:
9volt1:
depends_on:
- etcd
image: 9corp/9volt:latest
ports:
- "8081:8080"
links:
- etcd
environment:
- NINEV_ETCD_MEMBERS=http://etcd:2379
- NINEV_DEBUG=true
9volt2:
depends_on:
- etcd
image: 9corp/9volt:latest
ports:
- "8082:8080"
links:
- etcd
environment:
- NINEV_ETCD_MEMBERS=http://etcd:2379
- NINEV_DEBUG=true
- NINEV_MEMBER_TAGS=foo
9volt3:
depends_on:
- etcd
image: 9corp/9volt:latest
ports:
- "8084:8080"
links:
- etcd
environment:
- NINEV_ETCD_MEMBERS=http://etcd:2379
- NINEV_DEBUG=true
- NINEV_MEMBER_TAGS=foo, bar
etcd:
image: quay.io/coreos/etcd:v3.1.2
ports:
- "2379:2379"
command: /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379