-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
62 lines (56 loc) · 1.18 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
version: '3.8'
networks:
proxy:
name: proxy
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.100.0/24
services:
origin:
image: cassandra:3.11
restart: unless-stopped
networks:
proxy:
target:
image: cassandra:4.0
restart: unless-stopped
networks:
proxy:
proxy:
image: thesoul/ubuntu-dind:docker-20.10.12
restart: unless-stopped
tty: true
privileged: true
volumes:
- .:/opt/zdm-proxy-automation
- ./compose/keys:/run/keys
entrypoint:
- /opt/zdm-proxy-automation/compose/proxy-entrypoint.sh
networks:
proxy:
deploy:
mode: replicated
replicas: 3
jumphost:
image: ubuntu:20.04
restart: unless-stopped
tty: true
volumes:
- .:/opt/zdm-proxy-automation
- ./compose/keys:/run/keys
entrypoint:
- /opt/zdm-proxy-automation/compose/jumphost-entrypoint.sh
networks:
proxy:
client:
image: ubuntu:20.04
restart: unless-stopped
tty: true
volumes:
- .:/opt/zdm-proxy-automation
entrypoint:
- /opt/zdm-proxy-automation/compose/client-entrypoint.sh
networks:
proxy: