This docker image contains NUT.
This is an example dynamic configuration connecting to upsd as a slave.
---
version: "3.9"
services:
upsd:
...
environment:
UPSSTATS_HOSTS: |
MONITOR ups0@myupsdhost "UPS0"
MONITOR ups1@myupsdhost "UPS1"
...
The embedded entrypoint script is located at /etc/entrypoint.d/upsstats and performs the following actions:
| Variable | Default Value | Description |
|---|---|---|
| UPSSTATS_HOSTS | The contents to be appended to <nut_confpath>/hosts.conf. | |
| UPSSTATS_USERS | admin | The list of users to be allowed access. This is not the same as the userd.users credentials used to access upsset.cgi. |
/
├─ etc/
│ └─ entrypoint.d/
│ ├─ nginx
│ └─ upsstats
├─ run/
│ └─ secrets/
│ └─ <user>_password
└─ usr/
└─ share/
└─ nut/
└─ www/
None.
/etc/nut - The upsstats configuration directory.Content type
Image
Digest
sha256:e8ad3290d…
Size
102.9 MB
Last updated
over 3 years ago
docker pull crashvb/upsstats