forked from gojek/weaver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (55 loc) · 1.23 KB
/
docker-compose.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '3.4'
services:
dev_statsd:
image: gojektech/statsd:0.7.2
hostname: dev-statsd
ports:
- "18124:8124"
- "18125:8125"
- "18126:8126"
networks:
- weaver_net
dev_etcd:
image: quay.io/coreos/etcd:v2.3.8
hostname: dev-etcd
entrypoint: ["/etcd"]
command: [
"-name",
"etcd0",
"-advertise-client-urls",
"http://localhost:2379,http://localhost:4001",
"-listen-client-urls",
"http://0.0.0.0:2379,http://0.0.0.0:4001",
"-initial-advertise-peer-urls",
"http://localhost:2380",
"-listen-peer-urls",
"http://0.0.0.0:2380",
"-initial-cluster-token",
"etcd-cluster-1",
"-initial-cluster",
"etcd0=http://localhost:2380",
"-initial-cluster-state",
"new"
]
ports:
- "12379:2379"
networks:
- weaver_net
dev_weaver:
build:
context: .
target: weaver_base
hostname: dev-weaver
depends_on:
- dev_etcd
- dev_statsd
environment:
STATD_PORT: 8125
STATSD_HOST: dev_statsd
ETCD_ENDPOINTS: "http://dev_etcd:2379"
stdin_open: true
tty: true
networks:
- weaver_net
networks:
weaver_net: