-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathnordvpn_proxy.yml
43 lines (43 loc) · 1.08 KB
/
nordvpn_proxy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.8"
services:
vpn:
image: tmknight88/nordvpn:latest
container_name: nordvpn
cap_add:
- NET_ADMIN
deploy:
resources:
limits:
memory: 128m
env_file: ./nord.env
environment: # Review https://github.com/tmknight/docker-nordvpn/#environment-variables
BYPASS_LIST: iconfig.co,whatsmyip.com
CHECK_CONNECTION_INTERVAL: 90
CONNECTION_FILTERS: "filters[country_id]=38"
ports:
- 8888:8118
sysctls:
- net.ipv6.conf.all.disable_ipv6=1 # Recommended if using ipv4 only
networks:
- frontend
restart: always
proxy:
image: tmknight88/privoxy:latest
container_name: privoxy
deploy:
resources:
limits:
memory: 512m
environment:
TZ: America/New_York
sysctls:
- net.ipv6.conf.all.disable_ipv6=1 # Recommended if using ipv4 only
network_mode: service:vpn
volumes:
- /mnt/privoxy/config:/etc/privoxy
## If https inspection enabled
- /mnt/privoxy/certs:/var/lib/privoxy/certs
restart: always
networks:
frontend:
name: vpn