glanceapp / glanceapp/glance

Make the docker widget's sock-path an Array

Open
#758 1 comment 3 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### Description

Having multiple docker servers would require me to make multiple widget of `docker-containers`, although that's good and all but when I need them to appear in a single tab instead of multiple would not be possible at the moment since each widget will be treated as 1 tab. Turning `sock-path` property into a list of `sock-path` would most likely solve this.

```yml
- type: docker-containers
title: Docker
cache: 1s
sock-path:
- http://docker-proxy1.domain
- http://docker-proxy2.domain
#....
```

Though I'd imagine that this would create complexity to the widget if for example one of the socket proxy is down.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.