17 lines
304 B
YAML
17 lines
304 B
YAML
services:
|
|
wireguard:
|
|
image: rbehzadan/wireguard-3proxy
|
|
container_name: wireguard
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
devices:
|
|
- /dev/net/tun
|
|
privileged: true
|
|
volumes:
|
|
- ./wg0.conf:/etc/wireguard/wg0.conf
|
|
ports:
|
|
- "3128:3128"
|
|
- "1080:1080"
|
|
|