docker-deploy/l2tp/docker-compose.yml

25 lines
551 B
YAML
Raw Normal View History

2021-09-20 01:13:18 +08:00
version: "3"
services:
l2tp:
image: teddysun/l2tp
restart: always
ports:
- "500:500/udp"
- "4500:4500/udp"
privileged: true
volumes:
- "/lib/modules:/lib/modules"
environment:
- "VPN_IPSEC_PSK=${L2TP_PSK}"
- "VPN_USER=${L2TP_USER}
- "VPN_PASSWORD=${L2TP_PASSWORD}"
- "VPN_PUBLIC_IP="
- "VPN_L2TP_NET="
- "VPN_L2TP_LOCAL="
- "VPN_L2TP_REMOTE="
- "VPN_XAUTH_NET="
- "VPN_XAUTH_REMOTE="
- "VPN_DNS1="
- "VPN_DNS2="
- "VPN_SHA2_TRUNCBUG="