Wireguard: New Container image

This commit is contained in:
Tobias Manske 2023-03-09 12:51:53 +01:00
parent 41871f7763
commit c5b48f84f5
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -3,11 +3,10 @@ version: '3.9'
services:
wireguard:
image: linuxserver/wireguard:v1.0.20210914-ls81
image: registry.tobiasmanske.de/wireguard:latest
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
security_opt:
- label:disable
environment:
@ -15,8 +14,7 @@ services:
- PGID=1000
- TZ=Europe/Berlin
volumes:
- ./wg0.conf:/config/wg0.conf:ro,z
- /lib/modules:/lib/modules:ro
- ./wg0.conf:/etc/wireguard/wg0.conf:ro,z
ports:
- 51820:51820/udp
sysctls: