Switch to wg-easy
This commit is contained in:
@@ -17,28 +17,25 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
|
||||||
wireguard:
|
wireguard:
|
||||||
image: linuxserver/wireguard
|
image: weejewel/wg-easy
|
||||||
container_name: wireguard
|
container_name: wireguard
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- '/home/nick/configs/vpn/wireguard:/config'
|
- '/home/nick/configs/vpn/wireguard:/etc/wireguard'
|
||||||
- '/lib/modules:/lib/modules'
|
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- WG_HOST=${WG_URL}
|
||||||
- PGID=1000
|
- WG_DEFAULT_DNS=1.1.1.1, 1.0.0.1
|
||||||
- TZ=Europe/Athens
|
|
||||||
- SERVERURL=${WG_SERVER}
|
|
||||||
- SERVERPORT=51820
|
|
||||||
- PEERS=${WG_PEERS}
|
|
||||||
- PEERDNS=auto
|
|
||||||
- ALLOWEDIPS=0.0.0.0/0
|
|
||||||
ports:
|
ports:
|
||||||
- '51820:51820/udp'
|
- '51820:51820/udp'
|
||||||
networks:
|
networks:
|
||||||
- vpn
|
- vpn
|
||||||
|
user: "1000:1000"
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_MODULE
|
- SYS_MODULE
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.ip_forward=1
|
||||||
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
|
||||||
tor:
|
tor:
|
||||||
image: dperson/torproxy
|
image: dperson/torproxy
|
||||||
|
Reference in New Issue
Block a user