adds UPnP service to WireGuard Docker Compose configuration
This commit is contained in:
parent
803843bc24
commit
6f08b3ebb2
@ -1,7 +1,17 @@
|
|||||||
version: '3.8'
|
name: wireguard
|
||||||
|
|
||||||
services:
|
services:
|
||||||
wireguard:
|
upnp:
|
||||||
|
image: ghcr.io/vleeuwenmenno/auto-upnp:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: host
|
||||||
|
environment:
|
||||||
|
UPNP_DURATION: 86400 # 24 hours in seconds
|
||||||
|
PORTS: |
|
||||||
|
[
|
||||||
|
{"port": 51820, "protocol": "udp"}
|
||||||
|
]
|
||||||
|
|
||||||
|
server:
|
||||||
image: lscr.io/linuxserver/wireguard:latest
|
image: lscr.io/linuxserver/wireguard:latest
|
||||||
container_name: wireguard
|
container_name: wireguard
|
||||||
cap_add:
|
cap_add:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user