Skip to content

Compose: mount config/ read-only into the worker so configuration changes are a restart - #75

Open
oldeucryptoboi wants to merge 1 commit into
cbtw-apac:mainfrom
oldeucryptoboi:fix/mount-config-into-worker
Open

oldeucryptoboi wants to merge 1 commit into
cbtw-apac:mainfrom
oldeucryptoboi:fix/mount-config-into-worker

Conversation

@oldeucryptoboi

Copy link
Copy Markdown

Closes #71

Why

docker-compose.temporal.yml mounted only config/temporal.yaml; models.yaml, connectors.yaml and parsers.yaml came from the worker image. Every model or connector change meant dev.sh worker --build, several minutes per iteration. The API compose already mounts the whole directory.

What

  • Worker mounts ../../config:/app/config:ro, matching the API. The baked copy remains the fallback for a hand-run container without the mount.
  • dev.sh usage text, README.md and docs/getting-started/quick-start.md say --build is for source or dependency changes and that configuration changes need only dev.sh worker / dev.sh api.

Checks

docker compose -f docker-compose.temporal.yml config --quiet passes with the standard env files. Verified locally: a models.yaml change picked up by dev.sh worker without a rebuild.

🤖 Generated with Claude Code

…nges are a restart

Only config/temporal.yaml was mounted into the worker; models.yaml,
connectors.yaml and parsers.yaml came from the image, so every model or
connector change needed dev.sh worker --build, several minutes per
iteration. The API compose already mounts the whole directory.

The worker now mounts ../../config:/app/config:ro like the API. The baked
copy stays as the fallback for a hand-run container. dev.sh, the README and
the quick start no longer tell users to rebuild for configuration changes.

Closes cbtw-apac#71

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 5cca432d-6292-4476-a5be-47aa7b44390c


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

config/models.yaml is baked into the worker image; every model change needs a rebuild

2 participants