-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
66 lines (59 loc) · 1.31 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
version: '2.1'
networks:
gwnet:
ipam:
driver: default
config:
- subnet: 172.30.0.0/16
ip_range: 172.30.0.0/24
# gateway: 172.30.0.254
clients:
enable_ipv6: true
internal: true
ipam:
driver: default
config:
- subnet: fd30:252e:b4f5::/64
ip_range: fd30:252e:b4f5:0:1::/80
# gateway: fd30:252e:b4f5::1/64
# aux_addresses:
# nat64: "fd30:252e:b4f5:0:1::1"
- subnet: 172.29.0.0/24
ip_range: 172.29.0.0/24
gateway: 172.29.0.1
services:
nat64:
build:
context: test
privileged: true
stdin_open: true
networks:
gwnet:
ipv4_address: 172.30.0.2
clients:
ipv4_address: 172.29.0.2
# ipv6_address: fd30:252e:b4f5::2/64
ubuntu:
image: creatordev/docker-nat64-client
privileged: true
stdin_open: true
networks:
clients: {}
depends_on:
- nat64
alpine:
image: alpine-curl
privileged: true
build:
context: alpine-curl
stdin_open: true
entrypoint: /set-gateway.sh
command:
- "172.29.0.2"
- "fd30:252e:b4f5:0:1::1"
- ash
networks:
clients: {}
depends_on:
- nat64
- ubuntu # just to make IP addresses correct for the fdfd:: routing <cough>