-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yml
88 lines (88 loc) · 2.38 KB
/
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
services:
# NAT64 service
plat:
#build: plat-jool
build: plat-vpp
privileged: true
networks:
- plat-v4
- plat-v6
# FF gateway
gateway:
build: gateway
privileged: true
networks:
- v6-uplink
- v4-uplink
- tunnel
- plat-v4
- plat-v6
# Represents the public v4 internet
v4-internet:
build: v4-internet
privileged: true
networks:
- v4-uplink
# Represents the public v6 internet
v6-internet:
build: v6-internet
privileged: true
networks:
- v6-uplink
# A FF router
router:
#build: router-jool
build: router-nat46
privileged: true
networks:
- tunnel
- client-lan
# A FF client
client:
build: client
privileged: true
networks:
- client-lan
networks:
client-lan:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-client-lan
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: lan
tunnel:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-tunnel
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: tunnel
v4-uplink:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-v4-uplink
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: v4-
v6-uplink:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-v6-uplink
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: v6-
plat-v4:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-plat-v4
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: plat-v4-
plat-v6:
driver: bridge
driver_opts:
com.docker.network.bridge.name: br-plat-v6
com.docker.network.bridge.gateway_mode_ipv4: routed
com.docker.network.bridge.gateway_mode_ipv6: routed
com.docker.network.container_iface_prefix: plat-v6-