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-14 16:53:42 -06:00
|
|
|
ports:
|
|
|
|
# Change 8080 to the port you want to listen on
|
2021-10-18 10:35:18 -06:00
|
|
|
- "10.4.0.1:8080:80/tcp"
|