linuxserver / docker-nzbget

GNU General Public License v3.0
144 stars 84 forks source link

Ability to set username / password from environmental variables #128

Closed khromov closed 2 years ago

khromov commented 3 years ago

linuxserver.io


Desired Behavior

It would be useful if you could specify a username and password for the basic authentication using environmental variables instead of having them be hard-coded. Optionally this could also be enforced on container startup, but it's not a hard requirement imho.

Example:

 nzbget: 
    image: ghcr.io/linuxserver/nzbget
    # ...
    environment:
      - USER=myuser
      - PASSWORD=supersecretpassword
      # ...
    # ...

Or these env vars could be fetched via env_file

Current Behavior

Not possible to set username/password.

Alternatives Considered

Just changing the default login/password as per the instructions. 😄 It works, but automation ftw!

github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 months ago

This issue is locked due to inactivity