-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (36 loc) · 1.02 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
services:
ipv6lanrouter:
image: lutinglt/ipv6lanrouter:latest
container_name: ipv6lanrouter
hostname: ipv6lanrouter
restart: on-failure
networks:
# macvlan is WAN(Interfaces capable of obtaining IPv6 global addresses)
macvlan:
ipv4_address: *.*.*.*
# bridge is LAN(Interfaces that cannot obtain IPv6 global addresses)
bridge1:
ipv4_address: *.*.*.*
bridge2:
ipv4_address: *.*.*.*
bridge3:
ipv4_address: *.*.*.*
environment:
- TZ=Asia/Shanghai
- CHECK=3
- LAN_MODE=docker
- PREFIXLEN=60
- MTU=0
- RDNSS=*:*:*:*;*:*:*:*;
- EXCLUDE_SUB=00;01;02;03;...;
- EXCLUDE_NUM1=0;1;2;3;...;
- EXCLUDE_NUM2=0;1;2;3;...;
cap_add:
- NET_ADMIN
sysctls:
- "net.ipv6.conf.all.forwarding=1"
- "net.ipv6.conf.all.proxy_ndp=1"
- "net.ipv6.conf.all.accept_ra=2"
- "net.ipv6.conf.default.forwarding=1"
- "net.ipv6.conf.default.proxy_ndp=1"
- "net.ipv6.conf.default.accept_ra=2"