master-hax / compose-wireguard-deluge Goto Github PK
View Code? Open in Web Editor NEWa multi-container application to run Deluge behind a Wireguard client
a multi-container application to run Deluge behind a Wireguard client
I noticed that after following your configuration, my public IP is leaked briefly before properly connecting to the wireguard conf. This can be tracked using this website: https://www.whatismyip.net/tools/torrent-ip-checker/ and seems to be reproducible anytime I begin a download. Any suggestions?
My compose when getting this issue is:
version: "3.7"
services:
torrent-client:
image: linuxserver/deluge
restart: unless-stopped
network_mode: service:vpn-sidecar
depends_on:
- vpn-sidecar
volumes:
- deluge-data-volume:/config
- downloads-volume:/downloads
web-proxy:
image: dperson/nginx
restart: unless-stopped
networks:
- default
- isolated_torrent_network
environment:
- PROXY=http://torrent-client:8112;/
ports:
- 8112:80
links:
- vpn-sidecar:torrent-client
depends_on:
- torrent-client
read_only: true
tmpfs:
- /run
- /tmp
- /var/cache/nginx
vpn-sidecar:
image: linuxserver/wireguard
restart: unless-stopped
networks:
- isolated_torrent_network
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
- /lib/modules:/lib/modules
- wgclient-data-volume:/config
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=0 # for raspberry pi compatibility?
volumes:
deluge-data-volume: # deluge application files - change to a persistent location
driver: local
driver_opts:
o: bind
type: none
device: "$PWD/config/"
downloads-volume:
driver: local
driver_opts:
o: bind
type: none
device: "$PWD/downloads/"
wgclient-data-volume:
driver: local
driver_opts:
o: bind
type: none
device: "$PWD/wireguard/"
networks:
default:
isolated_torrent_network:
Thanks for making the docker compose. I really like the approach versus having a single, complex docker container and think this is the right way to do things. But it seems like traffic isn't forced through the VPN. Deluge reports my real external IP, even after setting the network device to wg0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.