mirror of
https://github.com/h44z/wg-portal
synced 2025-02-26 05:49:14 +00:00
21 lines
429 B
YAML
21 lines
429 B
YAML
---
|
|
services:
|
|
wg-portal:
|
|
image: wgportal/wg-portal:latest
|
|
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
|
|
- ./data:/app/data
|
|
- ./config:/app/config
|
|
# restart: no
|
|
# command: ["-migrateFrom=/app/data/wg_portal.db"]
|
|
|