linuxserver / docker-foldingathome

GNU General Public License v3.0
41 stars 8 forks source link

[FEAT] Read ACCOUNT_TOKEN from a file #25

Closed shizunge closed 2 months ago

shizunge commented 2 months ago

Is this a new feature request?

Wanted change

In additional to set ACCOUNT_TOKEN via environment, we need to read the token via a file. The file name can be set via environment ACCOUNT_TOKEN_FILE.

Reason for change

This allows us to pass the token via docker secrets.

Proposed code change

No response

github-actions[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Roxedus commented 2 months ago

https://github.com/linuxserver/docker-foldingathome#environment-variables-from-files-docker-secrets

shizunge commented 2 months ago

Thanks!