wireguard-manager/docker-compose.yaml

26 lines
525 B
YAML
Raw Normal View History

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