-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (60 loc) · 1.65 KB
/
Copy pathdocker-compose.yml
File metadata and controls
66 lines (60 loc) · 1.65 KB
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
version: '3.8'
networks:
proxy:
name: proxy
driver: bridge
ipam:
driver: default
config:
- subnet: $NETWORK_SUBNET
services:
origin:
image: cassandra:3.11
restart: unless-stopped
environment:
- CASSANDRA_CLUSTER_NAME='origin_cluster'
- CASSANDRA_NUM_TOKENS=32
- CASSANDRA_DC=datacenter1
- CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch
networks:
proxy:
target:
image: cassandra:4.0
restart: unless-stopped
environment:
- CASSANDRA_CLUSTER_NAME='target_cluster'
- CASSANDRA_DC=datacenter1
- CASSANDRA_ENDPOINT_SNITCH=GossipingPropertyFileSnitch
networks:
proxy:
proxy:
build: ./docker-compose/services/proxy
restart: unless-stopped
tty: true
privileged: true
volumes:
- ./docker-compose/services/proxy/proxy-entrypoint.sh:/usr/bin/proxy-entrypoint.sh
- ./docker-compose/share:/run/zdm-proxy-automation/
networks:
proxy:
jumphost:
build: ./docker-compose/services/jumphost
restart: unless-stopped
tty: true
environment:
- CIDR_IP_SUBNET=$NETWORK_SUBNET
volumes:
- ./docker-compose/services/jumphost/jumphost-entrypoint.sh:/usr/bin/jumphost-entrypoint.sh
- ./docker-compose/share:/run/zdm-proxy-automation/
- ./ansible/:/opt/zdm-proxy-automation/ansible/
networks:
proxy:
client:
build: ./docker-compose/services/client
restart: unless-stopped
tty: true
volumes:
- ./docker-compose/services/client/client-entrypoint.sh:/usr/bin/client-entrypoint.sh
- ./docker-compose/share:/run/zdm-proxy-automation/
networks:
proxy: