cannot find mydocs.yml #8278
Replies: 1 comment 1 reply
-
Hi @webhostingnet, As for issues concerning docker, portainer or GitOps, I never used them so can't help much. But if the file is not present I would first check if the file is in the container using You could also try mapping your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im trying to deploy the package using portainer from git. Everything looks "ok" but log on container startup is that it can't find mydocs.yml. I have the volume mapped and I have the doc in the volume root.
Debian/Ubuntu machine running portainer.
I've tried to move mydocs.yml to different paths. The file exists in /production-docs/ and in GIT root.
I've tried with and without "working_dir: /docs".
The dockers starts and then stops with the error as above.
I've also tried:
command: mkdocs serve -a 0.0.0.0:8000
But that did not work ( couldn't find mkdocs ).
Any suggestions on how to get this working. I'm trying to do it using GitOps pulling /docs from GIT on change.
Any suggestions to try ?
Beta Was this translation helpful? Give feedback.
All reactions