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" ports: # Change 8080 to the port you want to listen on - "10.4.0.1:8080:80/tcp"