This docker image contains NUT.
This is an example dynamic configuration connecting to upsd as a slave.
---
version: "3.9"
services:
upsd:
...
environment:
UPSMON_UPS_UPSMONSLAVE: |
MONITOR ups0@myupsdhost 1 upsmonslave $${UPSMONSLAVE_PASSWORD} slave
...
The embedded entrypoint script is located at /etc/entrypoint.d/upsmon and performs the following actions:
| Variable | Default Value | Description |
|---|---|---|
| UPSMON_NSS_PATH | <nut_confpath>/nss | The path to the NSS database. |
| UPSMON_UPS_* | The contents to be appended to <nut_confpath>/upsmon.conf. |
/
├─ etc/
│ ├─ entrypoint.d/
│ │ └─ upsmon
│ └─ supervisor/
│ └─ config.d/
│ └─ upsmon.conf
└─ run/
└─ secrets/
├─ nss_password
├─ upsmon.crt
├─ upsmon.key
├─ upsmonca.crt
└─ upsmon_<user>_password
None.
/etc/nut - The upsmon configuration directory.Content type
Image
Digest
sha256:0085faf8e…
Size
59.1 MB
Last updated
over 3 years ago
docker pull crashvb/upsmon