mirror of
https://github.com/louislam/dockge.git
synced 2026-03-03 02:06:55 -05:00
incorrect modifications of compose.yaml for preview #241
Labels
No labels
bug
feature-request
help
help wanted
invalid-format
need-reproduce-steps
question
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dockge-louislam#241
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @B17C0D3 on GitHub (Dec 30, 2025).
⚠️ Please verify that this bug has NOT been reported before.
🛡️ Security Policy
Description
I started to use the configs within the compose file.
The mode needs to be declared for prometheus. Otherwise the container crashes.
The compose file is saved correctly with the leading 0.
But the preview in dockge is without. If not added on the next edit, the leading 0 is missing and the mode isn't set correctly on startup.
Because the base for the edit isn't the saved compose file, but the preview in the browser.
Without the leading 0, the mode is not set correctly.
The leading 0 should not be removed on display in the browser.
👟 Reproduction steps
example compose file
👀 Expected behavior
The leading 0 should not be removed on display in the browser.
Without the leading 0, the mode is not set correctly.
😓 Actual Behavior
Removes the leading 0 in mode
Dockge Version
1.5.0
💻 Operating System and Arch
Linux unraid 6.12.54
🌐 Browser
Firefox 146.0
🐋 Docker Version
Docker version 27.5.1, build 9f9e405
🟩 NodeJS Version
📝 Relevant log output