Skip to content

Commit

Permalink
feat: ✨ add privoxyvpn
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Nemchik <[email protected]>
  • Loading branch information
nemchik committed Oct 9, 2023
1 parent ecbc1b6 commit 31a1312
Show file tree
Hide file tree
Showing 7 changed files with 80 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
privoxyvpn:
image: ghcr.io/binhex/arch-privoxyvpn:${PRIVOXYVPN_TAG}
3 changes: 3 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.hostname.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
privoxyvpn:
hostname: ${DOCKERHOSTNAME}
24 changes: 24 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
services:
privoxyvpn:
labels:
com.dockstarter.appinfo.deprecated: "false"
com.dockstarter.appinfo.description: "Privoxy, microsocks, OpenVPN, WireGuard"
com.dockstarter.appinfo.nicename: "PrivoxyVPN"
com.dockstarter.appvars.privoxyvpn_enable_privoxy: "no"
com.dockstarter.appvars.privoxyvpn_enable_socks: "no"
com.dockstarter.appvars.privoxyvpn_enabled: "false"
com.dockstarter.appvars.privoxyvpn_lan_network: "192.168.x.x/24"
com.dockstarter.appvars.privoxyvpn_name_servers: "1.1.1.1,8.8.8.8"
com.dockstarter.appvars.privoxyvpn_network_mode: ""
com.dockstarter.appvars.privoxyvpn_restart: "unless-stopped"
com.dockstarter.appvars.privoxyvpn_socks_pass: "your-socks-pass"
com.dockstarter.appvars.privoxyvpn_socks_user: "your-socks-user"
com.dockstarter.appvars.privoxyvpn_tag: "latest"
com.dockstarter.appvars.privoxyvpn_vpn_client: "openvpn"
com.dockstarter.appvars.privoxyvpn_vpn_enable: "no"
com.dockstarter.appvars.privoxyvpn_vpn_input_ports: ""
com.dockstarter.appvars.privoxyvpn_vpn_options: ""
com.dockstarter.appvars.privoxyvpn_vpn_output_ports: ""
com.dockstarter.appvars.privoxyvpn_vpn_pass: "your-vpn-pass"
com.dockstarter.appvars.privoxyvpn_vpn_prov: "custom"
com.dockstarter.appvars.privoxyvpn_vpn_user: "your-vpn-user"
3 changes: 3 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.netmode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
privoxyvpn:
network_mode: ${PRIVOXYVPN_NETWORK_MODE}
5 changes: 5 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.ports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
privoxyvpn:
ports:
- ${PRIVOXYVPN_PORT_8118}:8118
- ${PRIVOXYVPN_PORT_9118}:9118
3 changes: 3 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
services:
privoxyvpn:
image: ghcr.io/binhex/arch-privoxyvpn:${PRIVOXYVPN_TAG}
39 changes: 39 additions & 0 deletions compose/.apps/privoxyvpn/privoxyvpn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
services:
privoxyvpn:
cap_add:
- NET_ADMIN
- SYS_MODULE
container_name: privoxyvpn
devices:
- /dev/net/tun
environment:
- ENABLE_PRIVOXY=${PRIVOXYVPN_ENABLE_PRIVOXY}
- ENABLE_SOCKS=${PRIVOXYVPN_ENABLE_SOCKS}
- LAN_NETWORK=${PRIVOXYVPN_LAN_NETWORK}
- NAME_SERVERS=${PRIVOXYVPN_NAME_SERVERS}
- PGID=${PGID}
- PUID=${PUID}
- SOCKS_PASS=${PRIVOXYVPN_SOCKS_PASS}
- SOCKS_USER=${PRIVOXYVPN_SOCKS_USER}
- TZ=${TZ}
- VPN_CLIENT=${PRIVOXYVPN_VPN_CLIENT}
- VPN_ENABLED=${PRIVOXYVPN_VPN_ENABLE}
- VPN_INPUT_PORTS=${PRIVOXYVPN_VPN_INPUT_PORTS}
- VPN_OPTIONS=${PRIVOXYVPN_VPN_OPTIONS}
- VPN_OUTPUT_PORTS=${PRIVOXYVPN_VPN_OUTPUT_PORTS}
- VPN_PASS=${PRIVOXYVPN_VPN_PASS}
- VPN_PROV=${PRIVOXYVPN_VPN_PROV}
- VPN_USER=${PRIVOXYVPN_VPN_USER}
logging:
driver: json-file
options:
max-file: ${DOCKERLOGGING_MAXFILE}
max-size: ${DOCKERLOGGING_MAXSIZE}
privileged: true
restart: ${PRIVOXYVPN_RESTART}
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
volumes:
- /etc/localtime:/etc/localtime:ro
- ${DOCKERCONFDIR}/privoxyvpn:/config
- ${DOCKERSTORAGEDIR}:/storage

0 comments on commit 31a1312

Please sign in to comment.