-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
User Story
As a developer, I want to containerize the application so I can run the entire backend with one command
Description
Right now we have to manually start each lambda service and the database separately during development :( This is annoying
This ticket is to containerize the application using Docker so that running make up in the backend directory starts all lambda services and the database simultaneously.
Acceptance criteria
- Create
Dockerfilefor each lambda service (users, projects, donors, expenditures, reports, auth) - Create
docker-compose.ymlinapps/backend/that orchestrates all services and local postgres database - Create
Makefileinapps/backend/withmake up,make down, andmake logscommands - All lambda servers are running with their normal routing (we have logic to set routes already)
- Database initializes with schema from
db/db_setup.sqlon first run - Environment variables configured via
.envfile or docker-compose - Test by running
make upand verifying all endpoints are accessible - Document setup and usage in
apps/backend/README.md
Metadata
Metadata
Assignees
Labels
No labels