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.
 
 
 
 
 
 

34 lines
1007 B

version: "3.6"
services:
wg-gen-web:
image: vx3r/wg-gen-web:latest
container_name: wg-gen-web
restart: unless-stopped
expose:
- "8080/tcp"
environment:
- WG_CONF_DIR=/data
- WG_INTERFACE_NAME=wg0.conf
- SMTP_HOST=mail.crims0n.ru
- SMTP_PORT=587
- SMTP_USERNAME=no-reply@crims0n.ru
- SMTP_PASSWORD=4ys4eUVNcVCuvJ
- SMTP_FROM=Wg Gen Web <no-reply@crims0n.ru>
- OAUTH2_PROVIDER_NAME=github
- OAUTH2_PROVIDER=https://github.com
- OAUTH2_CLIENT_ID=1347a6c5a942ca0a52ed
- OAUTH2_CLIENT_SECRET=2f1d162b2d8d82bc58f685660e6875d2544d059c
- OAUTH2_REDIRECT_URL=http://140.238.172.15:8080
- WG_STATS_API=http://10.0.0.2:8182
volumes:
- /etc/wireguard:/data
ports:
- 8080:8080
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 0.0.0.0:8182