infra: add Docker Compose setup for local development
- Configure PostgreSQL 18 and Valkey 9.1 services - Create multi-stage Dockerfiles for API and Web apps - Set up pnpm workspace support in container builds - Configure hot reload via volume mounts for both services - Add healthchecks for service orchestration - Support dev/production stage targets (tsx watch vs compiled)
This commit is contained in:
parent
671d542d2d
commit
2ebf0d0a83
13 changed files with 174 additions and 7 deletions
|
|
@ -1 +1,5 @@
|
|||
DATABASE_URL=postgres://postgres:mypassword@localhost:5432/postgres
|
||||
DATABASE_URL=postgres://postgres:mypassword@db-host:5432/postgres
|
||||
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_DB=databasename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue