Skip to content

Add Docker Compose watch mode for local development #331

Description

@Levi-Ojukwu

Description
Developers making changes to the indexer or notifications service must manually restart Docker containers to see their changes. Docker Compose's watch feature (available since Compose 2.22) hot-reloads containers when source files change.

Requirements and context

  • Update docker-compose.yml with develop.watch configuration for indexer and notifications services
  • File sync: changes to indexer/src/ trigger a rebuild and restart of the indexer container
  • Rebuild trigger: changes to indexer/package.json trigger a full image rebuild
  • Document the docker compose watch command in docs/local-development.md
  • Write a brief demo section showing the development loop in action

Suggested execution

git checkout -b feat/docker-compose-watch
  • Update docker-compose.yml with watch configuration
  • Test the hot-reload loop for both services
  • Document in docs/local-development.md

Example commit message
feat: add Docker Compose watch mode for hot-reload during local development


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions