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" # Truested CA cert for self-signed SSL - "/etc/ssl/certs/gf4.pem:/etc/ssl/certs/ca.pem:ro" - "./env:/app/env:ro" ports: # Change 8080 to the port you want to listen on - "8080:8080/tcp" # Admin UI here - "8081:8081/tcp"