Repository navigation
v2.6.0
Added
- Compose check before Save and Deploy. The agent runs
docker compose configon the edited file first, the way Deploy will read it (same.env/global.env, relative paths resolved from the stack folder). A mistake likeimagee:now blocks Deploy with compose's own error message, and Save asks before saving anyway. Agents older than 2.6.0 don't answer, and the save goes ahead as before. - Format button and "Format on save" next to compose.yaml in edit mode. Tabs used for indentation become spaces, indentation becomes 2 spaces, and trailing spaces go; comments, quotes and inline lists are kept. It only applies if the file still means exactly the same. "Format on save" is off by default and remembered per browser.
Fixed
- Save no longer rewrites your compose file when you didn't change it. Opening a stack rebuilt its text from the parsed data, so any Save dropped quotes, turned
["a", "b"]into a block list, wrotekey:askey: nulland addednetworks: {}in edit mode. Files are now saved as written. Edits made through the form editors (containers, networks, URLs) still rebuild the file; that's planned for the next release.
Image: ghcr.io/ext745/dockge:2.6.0