wg-portal/docker-compose.yml

21 lines
429 B
YAML
Raw Normal View History

---
2020-11-10 10:06:04 +00:00
services:
wg-portal:
2024-11-24 17:53:28 +00:00
image: wgportal/wg-portal:latest
2020-11-10 10:06:04 +00:00
container_name: wg-portal
restart: unless-stopped
logging:
options:
max-size: "10m"
max-file: "3"
2020-11-10 10:06:04 +00:00
cap_add:
- NET_ADMIN
network_mode: "host"
volumes:
- /etc/wireguard:/etc/wireguard
- ./data:/app/data
- ./config:/app/config
# restart: no
# command: ["-migrateFrom=/app/data/wg_portal.db"]