diff --git a/proxy_pool/docker-compose-dev.yml b/proxy_pool/docker-compose-dev.yml index 6f5de67..80f1d18 100644 --- a/proxy_pool/docker-compose-dev.yml +++ b/proxy_pool/docker-compose-dev.yml @@ -3,14 +3,18 @@ services: vpn: image: su:latest container_name: vpn + # Capabilities required to run OpenVPN cap_add: - NET_ADMIN + # Devices required to run OpenVPN devices: - '/dev/net/tun:/dev/net/tun' ports: + # Squid proxy port - target: 8888 published: 8888 protocol: tcp + # Dante proxy port - target: 8881 published: 8881 protocol: tcp @@ -18,10 +22,12 @@ services: published: 8881 protocol: udp volumes: + # OpenVPN credentials - type: bind source: pass.txt target: /var/run/secrets/pass.txt + # OpenVPN configuration - type: bind source: config.ovpn target: /var/run/secrets/config.ovpn