Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_notes:docker-deluge [2023-04-09 Sun wk14 22:27] – [Alpine Docker BusyBox s6-rc] baumkp | docker_notes:docker-deluge [2024-04-28 Sun wk17 11:26] (current) – baumkp | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
======Docker Deluge Image / Service====== | ======Docker Deluge Image / Service====== | ||
- | I want a torrent service that uses a VPN and is set-up to have blocked | + | I want a torrent service that uses a VPN and is set-up to block non VPN WAN (internet) access. |
- | =====s6 supervision rc system===== | + | I have been successfully been running |
- | I decided to build this container | + | |
- | S6 [[https:// | ||
- | ++++Basic S6 commands:| | ||
- | |||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | *'' | ||
- | |||
- | BTW dont spell dependencies as dependancies and wonder why things don't work, lol the English language sucks. | ||
- | ++++ | ||
- | |||
- | |||
- | Reference: | ||
- | *[[https:// | ||
- | *[[https:// | ||
- | *[[https:// | ||
- | Easy to follow Beginner Guide on s6 Starter Pack ]] | ||
=====dockerfile===== | =====dockerfile===== | ||
++++Dockerfile| | ++++Dockerfile| | ||
Line 102: | Line 80: | ||
* where $lan is set to lan interface, e.g. enp1s0 | * where $lan is set to lan interface, e.g. enp1s0 | ||
* '' | * '' | ||
- | * When running nftables to stop leakage of vpn it was found that the docker networking cause failure. | + | * When running nftables to stop leakage of vpn it was found that the docker networking cause failure. |
* Need to manually create ++/ | * Need to manually create ++/ | ||
#!/bin/sh | #!/bin/sh | ||
Line 110: | Line 88: | ||
chmod 660 / | chmod 660 / | ||
- | echo "nameserver 192.168.1.1" > /etc/resolv.conf | + | echo "103.231.89.219 au-mel.pvdata.host" |
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | |||
+ | / | ||
</ | </ | ||
*Inside container command to run ''/ | *Inside container command to run ''/ | ||
Line 172: | Line 156: | ||
=====Docker network===== | =====Docker network===== | ||
- | As described | + | As described |
<code bash> | <code bash> | ||
docker network create -d macvlan | docker network create -d macvlan | ||
Line 267: | Line 251: | ||
- | <- docker_notes: | + | <- docker_notes: |