Comments (11)
@sparklyballs found a different way to update the block list, http://blog.shvetsov.com/2010/09/automatically-update-transmission-block.html. So we borrowed the idea. The update script now downloads the url that is stored in the settings.json file, decompresses it, puts it in the right directory and restarts the transmission daemon. No need for authentication or passing cleartext passwords.
from docker-transmission.
Blocklists can be enabled via the webui by clicking the spanner/wrench and navigating to :-
There is also an update button there.
from docker-transmission.
Yes, but that's the problem. It's a manual update. So you have to remember to update it regularly. If you set up the cron job then you don't have to worry about it.
But maybe this should be running in a separate docker container?
from docker-transmission.
the issue with a cron job is user/password for people who have secured their webui as per instructions in our readme.
from docker-transmission.
Could that be passed in as a parameter -e UIADMIN= -e UIPASS= ?
from docker-transmission.
I have a feature branch that is mostly complete for this. The update script is smart enough to look at the settings.json file, for the blocklist-enabled
variable to be set to true and optionally uses authentication if rpc-authentication-required
is set to true, using 2 environment variables set in the docker configuration. It will be run once a day.
PR should be submitted tomorrow sometime.
from docker-transmission.
i really dislike passing in usernames and passwords through environment variables and try to avoid it all costs.
All it takes is docker inspect <container-name>
and it will show the credentials in plain text.
from docker-transmission.
Only other options I see is maybe a file in the /config directory that would contain the username and password. Would that be better?
from docker-transmission.
Genuine question as I am not sure of the security implications, but if someone can run docker inspect on the host don't you have bigger problems then them discovering the password?
from docker-transmission.
from the outside world yes, but not all threats are external.
from docker-transmission.
Thank you @sparklyballs and @phendryx
from docker-transmission.
Related Issues (20)
- Transmission exits due to s6-overlay timeout resulting in SIGKILL HOT 5
- [BUG] stats.json isn't written when stopping the container HOT 13
- [BUG] Service not start with Stable release (4.0.4) HOT 21
- [FEAT] Delete images with date tags (2021.11.18, 2021.10.28, 2021.10.21 and 2021.10.07) HOT 3
- [FEAT] Read complete/incomplete folder paths from docker env HOT 5
- [BUG] Can't pass magnet link to container via Desktop file HOT 2
- [BUG] Custom crontabs no longer work HOT 7
- [FEAT] Allow running transmission with custom IO priority (`ionice`) HOT 5
- [FEAT] Add new web interface TrguiNG HOT 2
- [BUG] Building manually results in errors in the container HOT 4
- [BUG] UMASK does not affect `settings.json` HOT 6
- [BUG] <title> HOT 3
- [FEAT] Frequent releases / Understand releases changes HOT 5
- [FEAT] .torrent files HOT 6
- [BUG] PUID and PGID not having any effect HOT 4
- [BUG] Web UI no longer included? HOT 4
- [BUG] s6-notifyoncheck SIGKILL HOT 7
- [FEAT] <Copy Magnet Link> HOT 2
- [BUG] constant download from github HOT 2
- [FEAT] Add Unflac Mod? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-transmission.