2021-10-14 16:53:42 -06:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
wgapi:
|
|
|
|
image: keith24/wgapi:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
container_name: wgapi
|
|
|
|
volumes:
|
|
|
|
# Set this (mywg.conf) to the wireguard config you want to manage
|
|
|
|
- "/etc/wireguard/mywg.conf:/etc/wireguard/wg.conf"
|
2021-10-18 10:35:18 -06:00
|
|
|
# Truested CA cert for self-signed SSL
|
|
|
|
- "/etc/ssl/certs/gf4.pem:/etc/ssl/certs/ca.pem:ro"
|
2021-10-21 23:26:12 -06:00
|
|
|
- "./env:/app/env:ro"
|
2021-10-14 16:53:42 -06:00
|
|
|
ports:
|
|
|
|
# Change 8080 to the port you want to listen on
|
2021-10-21 23:12:51 -06:00
|
|
|
- "8080:8080/tcp"
|
|
|
|
# Admin UI here
|
|
|
|
- "8081:8081/tcp"
|