Replies: 2 comments 2 replies
-
You can use my docker mod for transmission that will handle port updating automatically. In your example it's as easy as adjusting
|
Beta Was this translation helpful? Give feedback.
2 replies
-
There are also these solutions: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can anyone help? I'm looking for someone more savvy with this sort of inter-container config setup or maybe someone has done something similar already.
Once gluetun has got a forwarded port from Proton VPN, it's saved into the
/tmp/gluetun/forwarded_port
file.How could docker-compose read the content of this file, after it's written, and then pass it along to the Transmission container as an environment variable (PEERPORT=) or config modification.
I'm thinking volume mount
/tmp/gluetun/forwarded_port
to the host, then delay starting transmission starting by using depends on with a health check (?) then using another container (maybe alpine?) to run a bash/sh script to copy the content from the file and provide as an environment variable to linuxserver.io's transmission container as the env varPEERPORT
.It's also mentioned in issue 53 (specifically this comment) to use
sed
to modify transmissionssettings.json
with the port directly but this would require transmission to be restarted maybe? I also spotted somewhere that linuxserver.io images allow you to run scripts at boot.Example
compose.yml
...Opening a port would make downloading slightly faster with more peers. e.g. linux iso's and other such legit content...
Beta Was this translation helpful? Give feedback.
All reactions