chore: improve compose for git worktree #142

Merged
joao.dubas merged 4 commits from jpd-chore-prepare-compose-for-worktree into main 2025-04-30 17:19:19 +00:00
Owner
  • Avoid multiple project names in docker compose by setting a default name.
  • Simplify develop watch rules:
    • When mix.lock is changed, rebuild the image.
    • When any other file is changed, sync and restart the service.
      • Except for directories related to deps/build/test/lsp.
  • Remove file argument from docker compose in Makefile
* Avoid multiple project names in `docker compose` by setting a default name. * Simplify `develop` watch rules: * When `mix.lock` is changed, rebuild the image. * When any other file is changed, sync and restart the service. * Except for directories related to deps/build/test/lsp. * Remove `file` argument from `docker compose` in `Makefile`
joao.dubas added 4 commits 2025-04-30 17:18:47 +00:00
With this, different `git worktrees` run under the same project name.
* when `mix.lock` is changed, rebuild the image
* when any other file is changed, sync and restart the service
  * except for directories that are related to deps/build/test/lsp
chore(make): use raw docker compose command
All checks were successful
continuous-integration/drone/pr Build is passing
8ed044af2e
joao.dubas merged commit 3a0bc3621f into main 2025-04-30 17:19:19 +00:00
joao.dubas deleted branch jpd-chore-prepare-compose-for-worktree 2025-04-30 17:19:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joao.dubas/ex_trainer#142
No description provided.