AnalogJ / scrutiny

Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds
MIT License
4.71k stars 154 forks source link

Can't get config file working #611

Open TheHYPO35 opened 3 months ago

TheHYPO35 commented 3 months ago

I hesitate to mark this as a bug, as I assume it's more likely me doing something wrong, but anyway, I have scrutiny:master-omnibus installed via docker compose.

My compose includes a volume for ./config:/srv/scrutiny/config (changing the default from opt to srv) and my setup requires me to specify a drive type in the collector.yaml file.

The log file indicates: "No configuration file found at /opt/scrutiny/config/collector.yaml. Using Defaults." even though /opt is not where it should be looking based on the compose. Nevertheless, to test it out, I copied the confirm file to the /opt path as well. The log says the same thing and doesn't find the config file.

Any ideas on what I'm doing wrong?