-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[Bug]: Docker Compose Deployments Still Have Issues If Repo Files Are Needed. #5182
Comments
@andrasbacsai For the record, the issue is caused by word wrapping. Disabling it resolves the problem: File: /var/www/html/resources/views/components/form/monaco-editor.blade.php:
Of course, disabling word wrapping is not the proper solution. I believe there's a bug elsewhere, but this serves as a temporary workaround. |
@andrasbacsai Sorry, the comment below was not for this issue ... The right issue: #5159 |
Having the same problem Locally the docker compose works, but Coolify fails to build with
This is an my docker compose using a custom nginx Dockerfile : ./deployment/NginxTest/docker-compose.yml
I believe the Dockerfile can be as simple as : ./deployment/NginxTest/Dockerfile.NginxTest
|
Putting the same exact docker compose file at the root of the repo (and puttong context : . ) solved the problem 👍 |
I stumbled on the same thing, but there were issues in my compose file, so I though that may have been the problem. Basically docker compose files in sub directories cause breakage of builds, Docker files themselves can be kept in sub directories. But the compose file must be in the root always. |
Error Message and Logs
Description
We are encountering issues with Docker Compose deployments when repository files are required, similar to past issues referenced below.
The Dockerfile and docker-compose.yml are located in the
docker/
directory in the repository. They are properly detected in the dashboard, but deployment fails with an error stating that the/artifacts/docker
directory does not exist.Related Issues
These issues seem related, but our case appears to be a new variation of the problem.
Build Log
Steps to Reproduce
Steps to Reproduce
Dockerfile
anddocker-compose.yml
inside a subdirectory (e.g.,docker/
)./artifacts/docker
directory.This issue seems related to previous problems with handling repository files in deployments.
Example Repository URL
No response
Coolify Version
v4.0.0-beta.394
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.10
Additional Information
No response
The text was updated successfully, but these errors were encountered: