mirror of
https://github.com/coollabsio/coolify.git
synced 2026-12-06 10:45:53 +08:00
A Compose file that is valid YAML but not a valid Compose file, such as a service indented under another service, was saved without an error. The next deployment then failed and the old containers kept running. Saving the Compose file in the UI and through the services API now checks the generated file with `docker compose config` on the server, in the service directory, and rejects it with the error. The check is skipped when the server is not reachable or the SSH connection fails. The file goes to the command on stdin, so no temporary file is written. Closes #6653