Browse Source

Fix: replace outdated params

pull/76/head
xjasonlyu 4 years ago
parent
commit
44e47cc86c
  1. 9
      docker/docker-compose.yml

9
docker/docker-compose.yml

@ -9,12 +9,13 @@ services:
- '/dev/net/tun:/dev/net/tun' - '/dev/net/tun:/dev/net/tun'
environment: environment:
- GODEBUG=madvdontneed=1 - GODEBUG=madvdontneed=1
- LOGLEVEL= - LOGLEVEL=WARN
- EXCLUDED=
- EXTRACMD=
- PROXY= - PROXY=
- STATS= - STATS=
- TOKEN= - TOKEN=
- EXTRA_COMMANDS=
- TUN_INCLUDED_ROUTES=
- TUN_EXCLUDED_ROUTES=
networks: networks:
switch: switch:
ipv4_address: 172.20.1.2 ipv4_address: 172.20.1.2
@ -30,7 +31,7 @@ networks:
ipam: ipam:
driver: default driver: default
config: config:
- subnet: '172.20.1.0/24' - subnet: '172.20.1.0/25'
gateway: 172.20.1.1 gateway: 172.20.1.1
driver: macvlan driver: macvlan
driver_opts: driver_opts:

Loading…
Cancel
Save