Skip to content

Modernise dev Compose setup#23

Open
JamieMagee wants to merge 1 commit into
clearlydefined:mainfrom
JamieMagee:improve-dev-env
Open

Modernise dev Compose setup#23
JamieMagee wants to merge 1 commit into
clearlydefined:mainfrom
JamieMagee:improve-dev-env

Conversation

@JamieMagee
Copy link
Copy Markdown
Collaborator

Tidies up the dev env so a fresh clone just works.

  • Drop obsolete version: "3.8" and deprecated links:; use depends_on with healthchecks on mongo, service, crawler, azurite.
  • Parameterise ports, mongo image, and platform via .env (.env.example replaces sample_env). Mongo bumped to 7; AVX fallback is now a one-line MONGO_IMAGE=mongo:4.4.28 override instead of editing the compose file.
  • Mongo seed is built locally from mongo_seed/, waits for mongo, and upserts, so re-seeding no longer requires nuking volumes.
  • docker-compose-azurite.yml is now a thin override layered on the base file instead of a near-duplicate.
  • Add a Taskfile.yml for the common commands the README documents (build, up, rebuild SVC=..., seed, nuke, etc.).
  • README updated to match.

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