Skip to content

fix(docker): align commented env var lines with the environment list - #2156

Merged
ntohidi merged 1 commit into
developfrom
fix/compose-comment-indent
Aug 20, 2026
Merged

fix(docker): align commented env var lines with the environment list#2156
ntohidi merged 1 commit into
developfrom
fix/compose-comment-indent

Conversation

@ntohidi

@ntohidi ntohidi commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

The optional LLM-key lines in docker-compose.yml are commented at # - KEY=.... Deleting the # leaves a 5-space indent, but the live environment: entry added in #2094 sits at 4. Compose then fails:

yaml: line 10: did not find expected '-' indicator

Every compose command breaks until the user re-indents by hand. This re-indents the comment block to # - KEY=... so uncommenting just works.

Comment-only change; no runtime behavior changes.

Verified: docker compose config passes as shipped, and passes with a key line uncommented (it failed before this change).

The optional LLM-key lines sat at 5-space indent once uncommented, while
the live entry uses 4. Removing the '#' produced 'did not find expected
- indicator' and broke every compose command until re-indented by hand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ntohidi
ntohidi merged commit 7941355 into develop Aug 20, 2026
1 check passed
@ntohidi
ntohidi deleted the fix/compose-comment-indent branch August 20, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant