-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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]: Issue adding new domains to docker compose applications via API #4326
Comments
💎 $70 bounty • roshanSteps to solve:
Thank you for contributing to coollabsio/coolify! Add a bounty • Share on socials
|
/attempt #4326 Options |
Related to coollabsio#4326 Update domain persistence in `docker_compose_domains` field after redeployment. * **app/Livewire/Project/Application/General.php** - Add validation for `docker_compose_domains` in the `rules` and `validationAttributes` arrays. * **app/Models/ApplicationPreview.php** - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`. * **app/Http/Controllers/Webhook/Bitbucket.php** - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`. * **app/Http/Controllers/Webhook/Gitea.php** - Add `validateDockerComposeDomainsFormat` method to validate the format of `docker_compose_domains`. * **app/Http/Controllers/Webhook/Github.php** - Add `docker_compose_domains` to the data array when creating a new `ApplicationDeployment`. /claim coollabsio#4326
@vishwamartur Which one of those above API calls would work for our docker compose applications to update domains list with your proposed fix? |
@roshanjonah Thank you for reviewing the PR! The API call that works for Docker Compose applications to update the domains list with the proposed fix is: PUT /applications/:applicationId/domains This endpoint is designed to handle updates for the domains list in Docker Compose applications. It takes the application ID as a parameter and expects the updated list of domains in the request body. The changes in the PR ensure compatibility with Docker Compose setups. If there's any additional clarification or testing you'd like, let me know! |
Error Message and Logs
No specific error message - shows as successful when it's not.
Steps to Reproduce
Example Repository URL
No response
Coolify Version
4.0.0-beta.370
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04
Additional Information
These were our attempts to replicate the UI behavior of:
The issue seems to be that while we can update the domains, they're not persisting properly in the docker_compose_domains field after redeployment.
The text was updated successfully, but these errors were encountered: