2022-12-28 10:57:02 +00:00
|
|
|
---
|
2020-11-10 10:06:04 +00:00
|
|
|
version: '3.6'
|
|
|
|
services:
|
|
|
|
wg-portal:
|
2023-10-26 13:08:11 +00:00
|
|
|
image: wgportal/wg-portal:v2
|
2020-11-10 10:06:04 +00:00
|
|
|
container_name: wg-portal
|
|
|
|
restart: unless-stopped
|
2021-11-04 21:52:14 +00:00
|
|
|
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
|
2020-11-10 11:24:18 +00:00
|
|
|
- ./data:/app/data
|
2023-10-26 10:42:18 +00:00
|
|
|
- ./config:/app/config
|
|
|
|
# restart: no
|
|
|
|
# command: ["-migrateFrom=/app/data/wg_portal.db"]
|
|
|
|
|