Created
August 7, 2021 11:42
-
-
Save TheTinkerDad/27c999ed693001bc4c979d51c916660c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2.0" | |
services: | |
nut-upsd: | |
image: instantlinux/nut-upsd | |
ports: | |
- 3493:3493 | |
environment: | |
- SERIAL=abcdef123456 | |
secrets: | |
- nut-upsd-password | |
devices: | |
- /dev/usb/hiddev0:/dev/usb/hiddev0 | |
privileged: true | |
restart: always | |
secrets: | |
- nut-upsd-password: | |
file: secret.txt |
well same issue here, not sure what the format of the secrets file should be
The answers are at the bottom of the instantlinux source repo's README: https://github.com/instantlinux/docker-tools/blob/main/images/nut-upsd/README.md#secrets
"...If the API user needs a password, you have two ways to specify it: pass the value itself as environment variable API_PASSWORD, or define a Docker secret..."
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Sorry, what there should be specifically in the
secret.txt
file?