services: ovpnmux: image: ghcr.io/fa0311/ovpnmux:main cap_add: [NET_ADMIN] devices: ["/dev/net/tun:/dev/net/tun"] sysctls: net.ipv4.conf.all.rp_filter: "0" net.ipv4.conf.default.rp_filter: "0" net.ipv6.conf.all.disable_ipv6: "1" ports: - "1080:1080" # HTTP CONNECT proxy - "127.0.0.1:9090:9090" # admin, host only volumes: - ./config.yaml:/etc/ovpnmux/config.yaml:ro - ./profiles:/profiles:ro # put your *.ovpn files here - data:/var/lib/ovpnmux restart: unless-stopped volumes: data: {}