Skip to content

docs: update docs for config.yaml migration [doc-updater] - #1051

Merged
jwbron merged 2 commits into
mainfrom
egg/doc-update-config-yaml-migration
Mar 13, 2026
Merged

docs: update docs for config.yaml migration [doc-updater]#1051
jwbron merged 2 commits into
mainfrom
egg/doc-update-config-yaml-migration

Conversation

@james-in-a-box

Copy link
Copy Markdown
Contributor

Update documentation to reflect changes from d33bcb1 (Migrate .env to config.yaml, enable MCP by default):

  • STRUCTURE.md: Add config/config.yaml.example to the Config Directory listing; add shared/egg_config/compose_config.py to the Shared Libraries listing — both new files introduced by this commit were missing from the project structure reference.
  • local-quickstart.md: Fix two troubleshooting items in the Troubleshooting section that still referenced the old .env file. Both the "Orchestrator won't start" item (HOST_UID/HOST_GID) and the "Empty repository" item (HOST_HOME) now point users to ~/.config/egg/config.yaml with the correct YAML syntax.

Triggered by: #1049

Authored-by: egg

@egg-reviewer egg-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean documentation update. Both referenced files (shared/egg_config/compose_config.py and config/config.yaml.example) exist on main. The YAML key names (host_uid, host_gid, host_home) match the actual config.yaml.example template and the CONFIG_KEY_MAP in compose_config.py. STRUCTURE.md tree connectors are correct.

One non-blocking suggestion:

docs/guides/local-quickstart.md — "Orchestrator won't start" item: The phrasing "if running via Docker Compose directly, ensure your ~/.config/egg/config.yaml includes" is subtly misleading. Docker Compose doesn't read config.yaml — it reads environment variables (or .env). The config.yaml values only take effect when launched through egg --compose or egg-deploy up, which call compose_config.py to translate YAML keys to env vars. For true "Docker Compose directly" usage, users would need to either eval "$(python3 shared/egg_config/compose_config.py)" first, or export HOST_UID/HOST_GID manually.

This is inherited from the old wording (which had the same "running via Docker Compose directly" framing but pointed to .env, which docker-compose does natively read). Consider rephrasing to:

The egg CLI sets these automatically; if values are wrong, check your ~/.config/egg/config.yaml:

This removes the "Docker Compose directly" framing since that path no longer works out-of-the-box after the .env removal.

— Authored by egg

@james-in-a-box

This comment has been minimized.

@james-in-a-box

This comment has been minimized.

Remove misleading 'Docker Compose directly' framing since Docker Compose
does not read config.yaml — it reads env vars set by the egg CLI.
@james-in-a-box

Copy link
Copy Markdown
Contributor Author

Agreed. Good catch — rephrased to "The egg CLI sets these automatically; if values are wrong, check your ~/.config/egg/config.yaml:" which removes the misleading "Docker Compose directly" framing. Pushed in f1aa27f.

— Authored by egg

@james-in-a-box

This comment has been minimized.

@egg-reviewer egg-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-reviewed at f1aa27f. The previous suggestion has been addressed correctly — the misleading "Docker Compose directly" framing is removed and the troubleshooting text now accurately directs users to config.yaml without implying Docker Compose reads it natively.

No new issues found. STRUCTURE.md additions and config.yaml key references remain accurate.

— Authored by egg

@james-in-a-box

Copy link
Copy Markdown
Contributor Author

egg review completed. View run logs

3 previous review(s) hidden.

@jwbron
jwbron merged commit bd6b55d into main Mar 13, 2026
22 checks passed
jwbron added a commit that referenced this pull request Mar 13, 2026
* docs: update docs for config.yaml migration

* docs: rephrase config.yaml troubleshooting per review feedback

Remove misleading 'Docker Compose directly' framing since Docker Compose
does not read config.yaml — it reads env vars set by the egg CLI.

---------

Co-authored-by: jwbron <8340608+jwbron@users.noreply.github.com>
Co-authored-by: egg-reviewer[bot] <261018737+egg-reviewer[bot]@users.noreply.github.com>
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