Skip to content
Discussion options

You must be logged in to vote

Yes, .lerd.yaml is meant to be committed (project-setup docs). The churn you're seeing is by design: every start/stop command (queue:start, horizon:start, schedule:start, worker start…) updates the workers list in .lerd.yaml so a fresh clone or reinstall restores them (queue-workers docs).

What you're describing already exists as .lerd.local.yaml (configuration docs): an untracked file next to .lerd.yaml whose keys win over the committed ones. lerd link adds it to .git/info/exclude automatically, so it never shows up in git status.

So keep the team defaults in .lerd.yaml, and put your own working set in the local file:

# .lerd.local.yaml
workers:
  - queue
  - schedule

From reading the sa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by geodro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants