Update compose.yaml
This commit is contained in:
parent
2187ccbb44
commit
f802cb816c
1 changed files with 22 additions and 0 deletions
22
compose.yaml
22
compose.yaml
|
|
@ -55,3 +55,25 @@ services:
|
||||||
PGID: 1000
|
PGID: 1000
|
||||||
networks:
|
networks:
|
||||||
- proxy_network
|
- proxy_network
|
||||||
|
|
||||||
|
wg-easy:
|
||||||
|
image: ghcr.io/wg-easy/wg-easy:latest
|
||||||
|
container_name: wg-easy
|
||||||
|
volumes:
|
||||||
|
- /app-config/wg-easy/:/etc/wireguard
|
||||||
|
- /lib/modules:/lib/modules:ro
|
||||||
|
networks:
|
||||||
|
- proxy_network
|
||||||
|
ports:
|
||||||
|
- "9999:9999/udp"
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.ip_forward=1
|
||||||
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
- net.ipv6.conf.all.disable_ipv6=0
|
||||||
|
- net.ipv6.conf.all.forwarding=1
|
||||||
|
- net.ipv6.conf.default.forwarding=1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue