Is there an existing issue for this?
Current Behavior
in the init script, there are some actions that make it hard to debug what is going on.
- If you do not specify the
USER and PASS environment variables, then it automatically sets rpc-authentication-enabled to false.
- If you do not specify the
WHITELIST environment variables, then it automatically set rpc-whitelist-enabled to false.
i have seen other issues in the repo where the maintainers seem to think this is the best approach. i think this is limiting for 2 reasons:
- it could be preferable to provide the password in the way that transmission allows by setting it directly in
settings.json and then is salted on startup. otherwise, plaintext passwords need to be used in docker configuration or initialization. with the current setup, this is impossible.
- it is a nice experience for a user to be able to use an existing
settings.json file that they use in other deployments
this could be done in a backwards-compatible way if we added another environment variable to not automatically override these settings.
either way, it would at least be good to be explicit about what is happening in the documentation, and to add some logging to the init script so that users could see that what values are getting written by inference of environment variables. i'm happy to put up a PR with some guidance on if the option to not override is desirable.
Expected Behavior
No response
Steps To Reproduce
- stop container
- modify certain keys in settings.json
- start container
- unexpected overrides
Environment
CPU architecture
x86-64
Docker creation
Container logs
Is there an existing issue for this?
Current Behavior
in the init script, there are some actions that make it hard to debug what is going on.
USERandPASSenvironment variables, then it automatically setsrpc-authentication-enabledtofalse.WHITELISTenvironment variables, then it automatically setrpc-whitelist-enabledtofalse.i have seen other issues in the repo where the maintainers seem to think this is the best approach. i think this is limiting for 2 reasons:
settings.jsonand then is salted on startup. otherwise, plaintext passwords need to be used in docker configuration or initialization. with the current setup, this is impossible.settings.jsonfile that they use in other deploymentsthis could be done in a backwards-compatible way if we added another environment variable to not automatically override these settings.
either way, it would at least be good to be explicit about what is happening in the documentation, and to add some logging to the init script so that users could see that what values are getting written by inference of environment variables. i'm happy to put up a PR with some guidance on if the option to not override is desirable.
Expected Behavior
No response
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs