wireguard-ui/docker-compose.yaml

25 lines
492 B
YAML
Raw Normal View History

version: "3"
2020-04-24 19:33:22 +02:00
services:
wg:
build: .
#image: ngoduykhanh/wireguard-ui:latest
2020-04-24 19:33:22 +02:00
container_name: wgui
cap_add:
- NET_ADMIN
network_mode: host
environment:
- SENDGRID_API_KEY
- EMAIL_FROM
- EMAIL_FROM_NAME
- SESSION_SECRET
- WGUI_USERNAME=alpha
- WGUI_PASSWORD=this-unusual-password
2020-04-24 19:33:22 +02:00
logging:
driver: json-file
options:
max-size: 50m
volumes:
2020-04-25 05:53:14 +02:00
- ./db:/app/db
2020-05-21 10:56:13 +02:00
- /etc/wireguard:/etc/wireguard