Skip to content

Conversation

@anth-volk
Copy link
Collaborator

@anth-volk anth-volk commented Jan 12, 2026

Fixes #1186

Summary

  • Add Docker Compose support for local development with Redis
  • Add Makefile targets for building and running Docker containers
  • Support for external Docker networks when running alongside other PolicyEngine services

Changes

  • docker/Dockerfile.api - Docker image for the API
  • docker/docker-compose.yml - Docker Compose configuration (standalone mode)
  • docker/docker-compose.external.yml - Override for external network mode
  • docker/start.sh - Startup script for gunicorn
  • Makefile - New targets: docker-build, docker-run, docker-run-external, services-start, services-start-external, services-stop, docker-network-create, docker-console
  • README.md - Documentation for Docker Compose usage
  • .env-example - Example environment variables

Original PR

This is a rebased version of #1042 by @pkarman, moved to a branch in the main repo to fix CI issues with fork-based PRs.

See also

MyFriendBen/benefits-api#1216

🤖 Generated with Claude Code

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.

Add Docker Compose support for local development

3 participants