Skip to content

[Bug]: Override tag causes yaml error #81

@dcflachs

Description

@dcflachs

Version

2026.03.28

Unraid Version

7.2.4

Bug Description

Compose files allow the use of the custom yaml tags !override, !reset, !merge. This seems to break the yaml parsing in the compose manager ui. It shows up as an error in the Compose file editor as well as breaking the WebUI Labels view.

Expected Behavior

Yaml parsing should either not fail when the tags are present.

Steps to Reproduce

  1. Have a compose file with the custom tags as below.

Relevant Logs

Compose

services:
  beesd-cache:
    container_name: bees-cache
    profiles: ["all", "cache", "pools"]
    build: 
      context: /mnt/user/appdata/compose-bees/build/
      args:
        - BEES_BRANCH=v0.11
    image: local/beesd:latest
    privileged: true
    restart: unless-stopped
    hostname: beesd
    cpu_shares: 64
    mem_swappiness: 0
    network_mode: none
    environment:
      - HOST_OS=Unraid
      - HASH_TABLE=/config/beeshash.dat
      - HASH_TABLE_SIZE=1G
      - BEESHOME=/config
      - BEESSTATUS=/status/beesstatus
      - OPTIONS=--no-timestamps
    volumes:
      - /mnt/cache:/mnt
      - /mnt/cache/appdata/bees/cache:/config
      - /tmp/bees/cache:/status
      
  beesd-cache-ssd:
    extends:
      service: beesd-cache
    container_name: bees-cache-ssd
    profiles: !override ["all", "ssd-cache", "pools"]
    volumes:
      - /mnt/ssd-cache:/mnt
      - /mnt/cache/appdata/bees/ssd-cache:/config
      - /tmp/bees/ssd-cache:/status
      
  beesd-1:
    extends:
      service: beesd-cache
    container_name: bees-disk1
    profiles: !override ["all", "disk1", 'array']
    volumes:
      - /mnt/disk1:/mnt
      - /mnt/cache/appdata/bees/disk1:/config
      - /tmp/bees/disk1:/status

Additional Context

The original compose.manager plugin had no problems with these tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions