Skip to content

Conversation

@pkarman
Copy link

@pkarman pkarman commented Oct 31, 2025

Purpose

These changes add Docker support to allow for local development consistent with the deployed environment. In theory, this would allow for deployment into alternate cloud platforms.

Changes

  • add documentation to the Makefile
  • add new make targets
  • add Dockerfile and docker-compose.yml
  • remove requirement for GCP application configuration
  • add shim for Google logging when run in debug mode

See also

MyFriendBen/benefits-api#1216

# Start the API
gunicorn -b :"$PORT" policyengine_api.api --timeout 300 --workers 5 --preload &

# Start multiple workers using POSIX-compliant loop
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both the README.md and ./gcp/policyengine_api/start.sh mention worker.py but I found no file with that name in the repo. Are the docs just out of date?

@MaxGhenis
Copy link
Collaborator

Thank you @pkarman! @anth-volk will take a look when he's back from vacation next week.

@MaxGhenis MaxGhenis requested a review from anth-volk November 5, 2025 23:23
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.

3 participants