You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
version: '3.6'
services:
wg-gen-web-lec:
image: vx3r/wg-gen-web:latest
container_name: wg-gen-web-lec
restart: unless-stopped
expose:
- "8080"
ports:
- "8080:8080"
environment:
- WG_CONF_DIR=/data
- WG_INTERFACE_NAME=wg0.conf
- WG_STATS_API=http://172.20.1.1:8182
- WG_STATS_API_USER=
- WG_STATS_API_PASS=
- SMTP_HOST=
- SMTP_PORT=
- SMTP_USERNAME=
- SMTP_PASSWORD=
- SMTP_FROM=
volumes:
- /etc/wireguard:/data
networks:
default:
aliases:
- wg-web
wg-json-api:
image: james/wg-api:latest
container_name: wg-json-api
restart: unless-stopped
cap_add:
- NET_ADMIN
network_mode: "host"
command: wg-api --device wg0 --listen 172.20.1.1:8182
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.20.1.0/24
|