initial compose.yaml - wg-portal deployment

This commit is contained in:
sascha 2026-04-28 07:45:49 +02:00
parent 8355feea6d
commit 0641e71c37

17
compose.yaml Normal file
View file

@ -0,0 +1,17 @@
---
services:
wg-portal:
image: wgportal/wg-portal:v2
container_name: wg-portal
restart: unless-stopped
logging:
options:
max-size: "10m"
max-file: "3"
cap_add:
- NET_ADMIN
network_mode: "host"
volumes:
- /etc/wireguard:/etc/wireguard # Direkter Zugriff auf WireGuard Interface
- ./config.yml:/app/config/config.yml:ro # Unsere Config
- ./data:/app/data # SQLite DB persistieren