13 lines
357 B
YAML
13 lines
357 B
YAML
|
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"
|
||
|
ports:
|
||
|
# Change 8080 to the port you want to listen on
|
||
|
- "10.4.1.1:8080:80/tcp"
|