adds upnp service

This commit is contained in:
2024-11-16 00:04:38 +01:00
parent 945196c8e0
commit db89a244b0
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
name: upnp
services:
service:
image: ghcr.io/vleeuwenmenno/auto-upnp:latest
restart: unless-stopped
network_mode: host
environment:
UPNP_DURATION: 86400 # 24 hours in seconds
PORTS: |
[
{"port": 80, "protocol": "tcp"},
{"port": 443, "protocol": "tcp"}
]