Portainer does not pull the entire git repo before computing the docker-compose.yml #12646
Unanswered
LeVraiRoiDHyrule
asked this question in
Help
Replies: 1 comment 3 replies
-
|
Hi, would someone have an idea about this issue ? I am on 2.27.3 LTS CE version, and I still have this issue. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ask a Question!
Hi,
All my Portainer stacks are pulled from git repositories.
In my compose, I have the following:
In the git repository,
synapseconfig.yamlis at the right place, alongsidedocker-compose.ymlBut when pulling, Portainer throws the following error:
Failed to deploy a stack: compose up operation failed: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /data/compose/119/config/synapseconfig.yamlThis file should exists as it is in the right place in the git repo. According to https://docs.portainer.io/user/docker/stacks/add#option-3-git-repository, Portainer should be pulling the entire repo to
/data/compose/119/config/. But it does not. I noticed than when pulling, Portainer does the following:/data/compose/119/config/directorydocker-compose.yml(which fails as it has not pulled all other files)At the end,
synapseconfig.yamlis present in/data/compose/119/config/, but not when Portainer computes thedocker-compose.yml.Am I doing something wrong ?
Thanks in advance for any answer
Beta Was this translation helpful? Give feedback.
All reactions