-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where does container expect config.yml to be mounted to #1
Comments
Hello, The Dockerfile specifies /bin/unifi_exporter as entrypoint without any arguments, so you need to specify the path to your config file yourself with See docker entrypoint docu to find out how to append an argument to the entrypoint. The kubernetes manifest however defines an argument and thus the container in k8s expects the config file under hope it helps |
Here's a sample docker command: |
I think this should be added to the repositories README.md It's a bit annoying to crawl through issues to find the exact argument to parse the config into the container. |
Hi Jesse
Where does your container expect the config.yml file to be mounted. I have tried a few obvious locations but get the
failed to read config file "": open : no such file or directory
error.Have manually jumped on to the container and run
./unifi_exporter -config.file config.yml
from the working directory and everything works fine, so would assume it is just an issue with my mount location.The text was updated successfully, but these errors were encountered: