1
0
Fork 0
mirror of https://github.com/louislam/dockge.git synced 2026-03-03 02:06:55 -05:00

Single lines in Compose.yaml are edited by dockge unnecessarily #216

Open
opened 2026-02-20 13:12:15 -05:00 by deekerman · 1 comment
Owner

Originally created by @jackspiering on GitHub (Jun 11, 2025).

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ 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

  1. Create a new stack
  2. add a service with a single line (healthcheck:
    test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"])
  3. Deploy the stack
  4. 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
Originally created by @jackspiering on GitHub (Jun 11, 2025). ### ⚠️ 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](https://github.com/louislam/dockge/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 1. Create a new stack 2. add a service with a single line (healthcheck: test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:41234/healthz"]) 3. Deploy the stack 4. 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 ```shell N/A ```
Author
Owner

@dMopp commented on GitHub (Oct 25, 2025):

I would not call it a bug, but it might be cool to have an option to turn on/off this behavior.

@dMopp commented on GitHub (Oct 25, 2025): I would not call it a bug, but it might be cool to have an option to turn on/off this behavior.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dockge-louislam#216
No description provided.