-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 828 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (41 loc) · 828 Bytes
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
version: "2.1"
services:
testrunner:
build: .
command: python /getaddrinfo/dtests.py
networks:
- anet
- bnet
depends_on:
- bobo
bobo:
build: .
command: /getaddrinfo/forever.sh
networks:
anet:
ipv4_address: 172.16.238.10
ipv6_address: 2001:3984:3989::10
aliases:
- boboa
bnet:
ipv4_address: 172.16.239.10
ipv6_address: 2001:3984:3990::10
aliases:
- bobob
networks:
anet:
driver: bridge
enable_ipv6: true
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
- subnet: 2001:3984:3989::/64
bnet:
driver: bridge
enable_ipv6: true
ipam:
driver: default
config:
- subnet: 172.16.239.0/24
- subnet: 2001:3984:3990::/64