docker-foldingathome icon indicating copy to clipboard operation
docker-foldingathome copied to clipboard

[FEAT] Allow setting the configuration via environment variables

Open DevSecNinja opened this issue 1 year ago • 1 comments

Is this a new feature request?

  • [X] I have searched the existing issues

Wanted change

It would be great if the FAHClient can be configured based on environment variables.

Reason for change

It will be super fast and easy to deploy a container to various hosts without having to configure them.

Proposed code change

FAHClient gets triggered here: https://github.com/linuxserver/docker-foldingathome/blob/94ea389fc0deb2ca4a468806f642e0332be57c3b/root/etc/s6-overlay/s6-rc.d/svc-foldingathome/run#L6

Example: https://github.com/InfraBuilder/docker-foldingathome/blob/master/Dockerfile#L15C142-L15C143

Switches documented here: https://foldingathome.org/support/faq/installation-guides/linux/command-line-options/#:~:text=Configuration%20with%20no,false%20%2D%2Dsmp%3Dtrue

DevSecNinja avatar Apr 14 '24 12:04 DevSecNinja

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

github-actions[bot] avatar Apr 14 '24 12:04 github-actions[bot]

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

LinuxServer-CI avatar May 15 '24 05:05 LinuxServer-CI

Not stale

DevSecNinja avatar May 15 '24 06:05 DevSecNinja

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

LinuxServer-CI avatar Jun 15 '24 05:06 LinuxServer-CI

Not stale

DevSecNinja avatar Jun 15 '24 07:06 DevSecNinja

This issue is locked due to inactivity

github-actions[bot] avatar Jul 16 '24 05:07 github-actions[bot]