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