-
Notifications
You must be signed in to change notification settings - Fork 36
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
How do I add addition files beside compose.yml #80
Comments
See this issue: #68, specifically this response |
Thanks for the response. Yeah I reckon this is a hard problem to solve right. Personally solved it now by using a komodo repo with the compose file and the config file in it. Works for me. Only thing I would love to have is a way to execute a command before a pull. To reset the already cloned repo for example. |
It already pulls with 'git pull --force', which will override local changes and removes any problems with conflicting history. This should be documented but also, you can see it in the Update log if you click on it. Thanks for the pre pull idea, I think some users would appreciate to fix any edge cases from how they use Repo. I'll throw that in soon. |
Ok, for me it was erroring out because the config file had a not committed line break in the existing local repo. Thanks for adding the pre-pull command ! |
Hi,
I've been trying to deploy a simply project for the first time but I'm having trouble adding a additional file to the stack that gets mounted by one of the containers.
Context:
The project mounts as config.yml file into the container:
I deploy the stack using a git repo which has two files in the root of the repo:
When I instruct komodo to deploy it clones the repo fine and I can see that the two files are in the repo folder as expect. That is the "config.yml" file is only a very brief moment in there. It gets overridden by a folder called config.yml which ofc causes the app to crash as it expects config.yml to be a text file and not a folder.
Is my stack config wrong? Do I need to flip some switches to make it work?
Thanks a lot for your time and work. Highly appreciated!
The text was updated successfully, but these errors were encountered: