-
In the services.yaml, let's say I want to use: - Plex:
icon: plex.png
href: http://{{HOMEPAGE_VAR_PLEX_IP}}:32400/web
description: Plex server
widget:
type: plex
url: http://{{HOMEPAGE_VAR_PLEX_IP}}:32400
key: {{HOMEPAGE_VAR_PLEX_KEY}}
fields: ["streams", "movies", "tv"] and similar labels for my other services. Where do the actual subsitutions live? For example, can I create a single .secrets file with a list of all the subsitution labels? Example .secrets:
I've never used secrets before so this is a bit confusing for me. The documentation reads like I can use labels, but can those labels exist in a secret file like above, or do they have to be listed in the homepage compose.yaml? And files reads like each secret gets its own file, which would be a staggering amount of files. Any help with this would very much be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Step 1: create a secrets.env file with all A=B labels listed. Save the file in the same location as your hompage compose.yaml env_file:
- /path/to/homepage/.secrets.env |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
Step 1: create a secrets.env file with all A=B labels listed. Save the file in the same location as your hompage compose.yaml
Step 2: in the docker compose file for homepage, add the following line, making sure to use the actual path to the secrets file: