Skip to content

Commit

Permalink
Add docker info for multiple widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Nov 27, 2024
1 parent 9dad649 commit 0ad0616
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/configs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,18 @@ labels:
- homepage.widget.fields=["field1","field2"] # optional
```

Multiple widgets can be specified by incrementing the index, e.g.

```yaml
labels: ...
- homepage.widget[0].type=emby
- homepage.widget[0].url=http://emby.home
- homepage.widget[0].key=yourembyapikeyhere
- homepage.widget[1].type=uptimekuma
- homepage.widget[1].url=http://uptimekuma.home
- homepage.widget[1].slug=youreventslughere
```

You can add specify fields for e.g. the [CustomAPI](../widgets/services/customapi.md) widget by using array-style dot notation:

```yaml
Expand Down

0 comments on commit 0ad0616

Please sign in to comment.