Skip to content

Commit

Permalink
add comments to docker-compose-dev..yml
Browse files Browse the repository at this point in the history
  • Loading branch information
algo7 committed Oct 9, 2023
1 parent 9924871 commit 91704ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proxy_pool/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,31 @@ 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
- target: 8881
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

0 comments on commit 91704ce

Please sign in to comment.