forked from datastax/zdm-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-tests.yml
55 lines (50 loc) · 1.05 KB
/
docker-compose-tests.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
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.13
container_name: zdm_tests_origin
restart: unless-stopped
networks:
proxy:
ipv4_address: 192.168.100.101
target:
image: cassandra:3.11.13
container_name: zdm_tests_target
restart: unless-stopped
networks:
proxy:
ipv4_address: 192.168.100.102
proxy:
image: golang
container_name: zdm_tests_proxy
restart: unless-stopped
tty: true
ports:
- 2345:2345
- 9042:9042
volumes:
- .:/source
entrypoint:
- /source/compose/proxy-entrypoint.sh
networks:
proxy:
ipv4_address: 192.168.100.103
nosqlbench:
image: nosqlbench/nosqlbench:4.15.101
container_name: zdm_tests_nb
tty: true
volumes:
- .:/source
entrypoint:
- /source/compose/nosqlbench-entrypoint.sh
networks:
proxy:
ipv4_address: 192.168.100.104