-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
63 lines (57 loc) · 1.3 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
60
61
62
63
loadbalancer:
build: load-balancer/
links:
- consul
ports:
- "80:80"
- "1936:1936"
consul:
command: -server -bootstrap -advertise ROUTABLE_IP
build: consul/
ports:
- "8300:8300"
- "8400:8400"
- "8500:8500"
- "8600:53/udp"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./consul/config:/etc/consul"
dns: localhost
registrator:
command: consul://consul:8500
image: gliderlabs/registrator:v5
links:
- consul
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
prometheus:
image: prom/prometheus:latest
command: -config.file=/config/prometheus.yml
links:
- haproxyexporter
ports:
- "9090:9090"
volumes:
- "./prometheus/config:/config"
haproxyexporter:
command: -haproxy.scrape-uri=http://loadbalancer:1936/;csv
image: prom/haproxy-exporter:latest
links:
- loadbalancer
genisys:
image: cyberdynesystems/genisys:latest
links:
- consul
- genisys-connector-docker
ports:
- "7001:7001"
volumes:
- "./genisys/config/genisys.yml:/app/genisys.yml"
- "./genisys/config/computes.py:/app/computes.py"
genisys-connector-docker:
image: cyberdynesystems/genisys-connector-docker:latest
ports:
- "7051:7051"
volumes:
- "/var/run/docker.sock:/tmp/docker.sock"
- "./genisys-connector/config/genisys-connector.yml:/app/genisys-connector.yml"