dockge
dockge copied to clipboard
Single lines in Compose.yaml are edited by dockge unnecessarily
⚠️ Please verify that this bug has NOT been reported before.
- [x] I checked and didn't find similar issue
🛡️ Security Policy
- [x] I agree to have read this project Security Policy
Description
Dockge change single lines of a compose.yaml. This is not a problem for how the container works, but it can be annoying that the compose.yaml is tweaked.
👟 Reproduction steps
- Create a new stack
- add a service with a single line (healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"])
- Deploy the stack
- Dockge changed healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"] to test: - CMD - wget - --spider - -q - http://127.0.0.1:41234/healthz
👀 Expected behavior
Keep the original yaml contents: test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"])
😓 Actual Behavior
Changes the compose.yaml to: test: - CMD - wget - --spider - -q - http://127.0.0.1:41234/healthz
Dockge Version
1.5.0
💻 Operating System and Arch
Debian GNU/Linux 12 (bookworm) x86_64
🌐 Browser
Arc 137.0.7151.69
🐋 Docker Version
Docker 28.2.2
🟩 NodeJS Version
N/A
📝 Relevant log output
N/A
I would not call it a bug, but it might be cool to have an option to turn on/off this behavior.