mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-10 08:53:51 +08:00
19 lines
No EOL
379 B
YAML
19 lines
No EOL
379 B
YAML
version: "3.5"
|
|
|
|
services:
|
|
wgdashboard:
|
|
image: donaldzou/wgdashboard
|
|
build:
|
|
context: ./
|
|
dockerfile: ./Dockerfile
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /lib/modules:/lib/modules
|
|
- ./src:/opt/wgdashboard
|
|
- ./config:/etc/wireguard
|
|
ports:
|
|
- 10086:10086
|
|
- 51820:51820/udp |