-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
92 lines (86 loc) · 1.69 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
version: '3.3'
services:
#zookeeper:
# image: wurstmeister/zookeeper
# expose:
# - 2181
# ports:
# - "2181:2181"
#
#kafka:
# image: wurstmeister/kafka:0.9.0.1
# expose:
# - 9092
# ports:
# - "9092:9092"
# links:
# - zookeeper:zk
# environment:
# KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
cassandra:
image: cassandra
restart: always
expose:
- "7000"
- "7001"
- "7199"
- "9042"
- "9160"
ports:
- "9160:9160"
- "9042:9042"
fenix1:
image: docker-registry.prod.williamhill.plc/martin.hatas/fenix:1.0.0-SNAPSHOT
restart: always
expose:
- "2551"
ports:
- "7777:7777"
environment:
- CASSANDRA=cassandra
- KAFKA=127.0.0.1
- FENIX_SERVERS
links:
- cassandra
# - kafka
fenix2:
image: docker-registry.prod.williamhill.plc/martin.hatas/fenix:1.0.0-SNAPSHOT
restart: always
expose:
- "2551"
ports:
- "7776:7777"
environment:
- CASSANDRA=cassandra
- KAFKA=127.0.0.1
- FENIX_SERVERS=seed:2551
links:
- cassandra
- fenix1:seed
# - kafka
fenix3:
image: docker-registry.prod.williamhill.plc/martin.hatas/fenix:1.0.0-SNAPSHOT
restart: always
expose:
- "2551"
ports:
- "7775:7777"
environment:
- CASSANDRA=cassandra
- KAFKA=127.0.0.1
- FENIX_SERVERS=seed:2551
links:
- cassandra
- fenix1:seed
# - kafka
# haproxy:
# image: haproxy:latest
# restart: always
# ports:
# - "80:80"
# volumes:
# - "./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro"
# links:
# - fenix