This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Replies: 1 comment
-
I tried doing this but not luck! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to securely store credentials outside of my yaml configuration files. With Homepage & Docker, we can use the following mechanism:
https://gethomepage.dev/latest/installation/docker/#using-environment-secrets
As far as I can see, we cannot use it here at the moment.
My solution
We can achieve a similar behaviour using systemd features, by adding to
[Service]
section of/etc/systemd/system/homepage.service
the following line:and then the variables will be reloaded each time the homepage service is started/restarted when the
.env
file exists.I am not sure if we want to add this change to the codebase, but at least someone will find this information useful.
Beta Was this translation helpful? Give feedback.
All reactions