Closed ldoo22 closed 1 week ago
This will be fixed in the upcoming version.
I will also add a new functionality, that you can set for each storage resource, if you would like to sync it from git or manually set it on Coolify's UI. If you check that you would like to preserve your git repository during deployment, each storage that is defined in your compose file, will be based on your git. And then you can simple override this on the UI.
So in your example, ff you would like to quickly override your Caddyfile, you just set it in the storage view and redeploy.
Thank you! Amazing work!
This will be fixed in the upcoming version.
I will also add a new functionality, that you can set for each storage resource, if you would like to sync it from git or manually set it on Coolify's UI. If you check that you would like to preserve your git repository during deployment, each storage that is defined in your compose file, will be based on your git. And then you can simple override this on the UI.
So in your example, ff you would like to quickly override your Caddyfile, you just set it in the storage view and redeploy.
Awesome! :) pls release
Description
I've encountered an issue when working with Docker Compose files that have a container using 'volumes' to mount a single file instead of a directory with "Preserve Repository During Deployment" option enabled.
Minimal Reproduction (if possible, example repository)
An example with a Caddy container, where one should load a config file (Caddyfile) onto the container: Repository file structure:
In docker-compose-yml file:
In Caddyfile file:
In coolify with "Preserve Repository During Deployment" option enabled:![image](https://github.com/user-attachments/assets/141db319-ffc1-4ecc-8a4e-a2143f29525b)
Press "Deploy"
Exception or Error
At deployment logs:
It seems to me that it considers that file as a directory.
Version
v4.0.0-beta.323
Cloud?