I have a currently running YAML file. Apps are up and running. I’m making changes to it, hitting save. No error message and stack restarts. But when I come back the YAML is not what I saved - in fact it has significant reformatting.
An example:
networks:
scaledocker:
external: true
services:
# Heimdall Service
heimdall:
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
image: lscr.io/linuxserver/heimdall:latest
networks:
- scaledocker
ports:
- '81:80'
- '444:443'
restart: unless-stopped
volumes:
- /mnt/m2/docker_configs/heimdall:/config
##########################################################
# Below are VPN-connected containers using Gluetun
##########################################################
# Prowlarr Service
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
network_mode: "container:gluetun" # Use Gluetun's network stack
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
volumes:
- /mnt/m2/docker_configs/prowlarr:/config
restart: unless-stopped
After I save I have this:
networks:
scaledocker:
external: True
services:
heimdall:
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
image: lscr.io/linuxserver/heimdall:latest
networks:
- scaledocker
ports:
- '81:80'
- '444:443'
restart: unless-stopped
volumes:
- /mnt/m2/docker_configs/heimdall:/config
prowlarr:
container_name: prowlarr
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
image: lscr.io/linuxserver/prowlarr:latest
network_mode: container:gluetun
restart: unless-stopped
volumes:
- /mnt/m2/docker_configs/prowlarr:/config`
``
Is this expected behavior? Not only is it deleting comment sections and rearranging my file, it's making mistakes (capitalizing True for example).
Any help appreciated.