Skip to content

Commit

Permalink
Add secret imports to demo config
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
  • Loading branch information
flooxo committed Jan 15, 2024
1 parent 1237879 commit d6ffdd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions public/assets/config-demo.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ services:
node: "node1"
warning_value: 50
danger_value: 80
api_token: "xxxxxxxxxxxx"
api_token: !secret proxmox_api
- name: "An awesome app"
logo: "assets/tools/sample.png"
subtitle: "Bookmark example"
Expand All @@ -95,7 +95,7 @@ services:
items:
- name: "Octoprint"
logo: "https://cdn-icons-png.flaticon.com/512/3112/3112529.png"
apikey: "xxxxxxxxxxxx"
apikey: !secret octoprint_api
endpoint: "https://homer-demo-content.netlify.app/octoprint"
type: "OctoPrint"
- name: "Example item"
Expand All @@ -107,7 +107,7 @@ services:
target: "_blank"
- name: "Weather"
location: "Lyon"
apikey: "xxxxxxxxxxxx" # insert your own API key here. Request one from https://openweathermap.org/api.
apikey: !secret weather_api # insert your own API key here. Request one from https://openweathermap.org/api.
units: "metric"
endpoint: "https://homer-demo-content.netlify.app/openweather/weather"
type: "OpenWeather"
Expand Down
5 changes: 4 additions & 1 deletion public/assets/secrets.yml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
some_password: welcome # include it in your config.yml by using !secret some_password
some_password: welcome # include it in your config.yml by using !secret some_password
proxmox_api: xxxxxxxxxxxx
octoprint_api: xxxxxxxxxxxx
weather_api: xxxxxxxxxxxx

0 comments on commit d6ffdd8

Please sign in to comment.