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

yaml folded multiline unfolds when saved in docker compose #228

Open
opened 2026-02-20 13:12:23 -05:00 by deekerman · 0 comments
Owner

Originally created by @AvedisBaghdasarian on GitHub (Sep 20, 2025).

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

ex

version: "3.9"
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    environment:
      TZ: America/Los_Angeles
      FTLCONF_webserver_api_password: insecure
      FTLCONF_dns_listeningMode: all
      # FTLCONF_misc_etc_dnsmasq_d: true
      FTLCONF_dns_dnsmasq_lines: >
        address=/asdf.lan/192.168.50.xxx;
        address=/asdf.lan/192.168.50.xxx;
        address=/asdf/192.168.50.xxx;
        address=/asdf.is/192.168.50.xxx

becomes

version: "3.9"
services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    environment:
      TZ: America/Los_Angeles
      FTLCONF_webserver_api_password: insecure
      FTLCONF_dns_listeningMode: all
      # FTLCONF_misc_etc_dnsmasq_d: true
      FTLCONF_dns_dnsmasq_lines: >
        address=/asdf.lan/192.168.50.xxx; address=/asdf.lan/192.168.50.xxx;
        address=/asdf/192.168.50.xxx; address=/asdf.is/192.168.50.xxx

👟 Reproduction steps

attempt to save a multiline folded configuration as i have shown above

👀 Expected behavior

lines remain multline folded

😓 Actual Behavior

it all becomes one line, except for that first > ironically

Dockge Version

1.5.0

💻 Operating System and Arch

Ubuntu 24.04.3 LTS

🌐 Browser

Firefox

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output


Originally created by @AvedisBaghdasarian on GitHub (Sep 20, 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 ex ```yaml version: "3.9" services: pihole: container_name: pihole image: pihole/pihole:latest environment: TZ: America/Los_Angeles FTLCONF_webserver_api_password: insecure FTLCONF_dns_listeningMode: all # FTLCONF_misc_etc_dnsmasq_d: true FTLCONF_dns_dnsmasq_lines: > address=/asdf.lan/192.168.50.xxx; address=/asdf.lan/192.168.50.xxx; address=/asdf/192.168.50.xxx; address=/asdf.is/192.168.50.xxx ``` becomes ```yaml version: "3.9" services: pihole: container_name: pihole image: pihole/pihole:latest environment: TZ: America/Los_Angeles FTLCONF_webserver_api_password: insecure FTLCONF_dns_listeningMode: all # FTLCONF_misc_etc_dnsmasq_d: true FTLCONF_dns_dnsmasq_lines: > address=/asdf.lan/192.168.50.xxx; address=/asdf.lan/192.168.50.xxx; address=/asdf/192.168.50.xxx; address=/asdf.is/192.168.50.xxx ``` ### 👟 Reproduction steps attempt to save a multiline folded configuration as i have shown above ### 👀 Expected behavior lines remain multline folded ### 😓 Actual Behavior it all becomes one line, except for that first `>` ironically ### Dockge Version 1.5.0 ### 💻 Operating System and Arch Ubuntu 24.04.3 LTS ### 🌐 Browser Firefox ### 🐋 Docker Version _No response_ ### 🟩 NodeJS Version _No response_ ### 📝 Relevant log output ```shell ```
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#228
No description provided.