mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-23 04:22:08 +08:00
Created Settings (markdown)
23
Settings.md
Normal file
23
Settings.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Configuration
|
||||||
|
|
||||||
|
The `settings.yaml` file allows you to define application level options.
|
||||||
|
|
||||||
|
|
||||||
|
## Providers
|
||||||
|
|
||||||
|
The `providers` section allows you to define shared API provider options and secrets. Currently this allows you to define your weather API keys in secret.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
providers:
|
||||||
|
openweathermap: openweathermapapikey
|
||||||
|
weatherapi: weatherapiapikey
|
||||||
|
```
|
||||||
|
|
||||||
|
You can then pass `provider` instead of `apiKey` in your widget configuration.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- weather:
|
||||||
|
latitude: 50.449684
|
||||||
|
longitude: 30.525026
|
||||||
|
provider: weatherapi
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user