Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- wireguard:
- image: 'linuxserver/wireguard'
- cap_add:
- - NET_ADMIN
- - SYS_MODULE
- container_name: 'wireguard'
- environment:
- - PUID=1000
- - PGID=1000
- - TZ=Europe/Moscow
- - PEERS=test
- - SERVERURL=real_ip.com
- - SERVERPORT=4500
- - PEERDNS=auto
- - INTERNAL_SUBNET=10.10.1.0
- - ALLOWEDIPS=10.10.1.0/24
- volumes:
- - ./config:/config
- - /lib/modules:/lib/modules
- ports:
- - 4500:51820/udp
- sysctls:
- - net.ipv4.conf.all.src_valid_mark=1
- - net.ipv4.ip_forward=1
- restart: unless-stopped
- web:
- image: nginx
- ports:
- - "80:80"
- environment:
- - NGINX_HOST=localhost
- - NGINX_PORT=80
Advertisement
Add Comment
Please, Sign In to add comment