-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathdocker-compose.yml
38 lines (33 loc) · 996 Bytes
/
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
# Build the PEERING docker container with:
# $ docker compose -f docker-compose.yml build peering
# Run the container with:
# $ docker compose -f docker-compose.yml run -ti peering
# You may need to adjust the subnets below if other Docker subnets
# overlap them. Try pruning old networks with:
# $ docker network prune
networks:
ip46net:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "172.16.51.0/24"
- subnet: "2001:db8:1:51::/80"
# The subnets above may need to be adjusted depending on your Docker
# configuration. The configuration below has support for IPv6 with a v6
# prefix that covers the subnet:
# {
# "experimental": true,
# "fixed-cidr-v6": "2001:db8:1::/64",
# "ip6tables": true,
# "ipv6": true
# }
services:
peering:
build: ./docker
privileged: true # needed so we get write access to /proc to enable IPv6
volumes:
- "./certs:/root/client/certs:ro"
networks:
ip46net: