Open ericlay opened 2 months ago
Hi,
Thank you so much for pointing out the typo in the documentation. I’ll get that fixed right away.
As for the issue you’re encountering, I understand how frustrating that can be. To help diagnose the problem, could you try running the program in DEBUG mode? You can enable this by setting APP_LOG_LEVEL: "DEBUG" in your config.yaml file. This should provide us with more detailed information on the error.
Please don’t hesitate to reach out if you need further assistance. Thanks again for your feedback, and I hope we can resolve this quickly!
Ufortunately, the output doesn't appear to be much different under DEBUG.
/services cd trailerfinder
/services/trailerfinder ls
config.yaml docker-compose.yml ex.config.yaml
/services/trailerfinder head -n 5 config.yaml
APP_USE_TITLE: "originalTitle"
APP_LOG_DATE_FORMAT: "%Y-%m-%d %H:%M:%S"
APP_LOG_PATH: "logs/trailer_finder.log"
APP_LOG_LEVEL: "DEBUG"
APP_LOG_MAX_SIZE: 10
/services/trailerfinder dc up
[+] Running 1/1
Container trailerfinder-trailer-finder-1 Recreated 0.3s
Attaching to trailer-finder-1
trailer-finder-1 | The configuration file is not found or is poorly defined in config/config.yml
trailer-finder-1 | For information on using this script, please refer to the documentation. => https://kalibrado.github.io/trailer-finder/
trailer-finder-1 exited with code 0
/services/trailerfinder dcdnro
[+] Running 1/0
✔ Container trailerfinder-trailer-finder-1 Removed 0.1s
/services/trailerfinder dcup
[+] Running 1/1
✔ Container trailerfinder-trailer-finder-1 Created 0.3s
Attaching to trailer-finder-1
trailer-finder-1 | The configuration file is not found or is poorly defined in config/config.yml
trailer-finder-1 | For information on using this script, please refer to the documentation. => https://kalibrado.github.io/trailer-finder/
trailer-finder-1 exited with code 0
I'm sure this is pebkac but, I cannot resolve. Any help would be appreciated. Basically I followed the docs to quickstart ala docker compose. However on start it complains about the config file. I have confirmed that it is mounting and have validated the yaml. So now I am at a loss.
Compose file:
Config.yaml:
Container error:
If I'm fast enough I can inspect the restarting container and confirm the config file is mounted:
and here again:
I'm also not sure if it has any effect to my situation but the example config has a possible typo in a tag. "RESQUESTS" instead of "REQUESTS" on config docs. I have left it as is in my config as it doesn't seem to solve the issue either spelling...