Brings full Postgres + api + web compose setup so the app can run on any machine with just Docker, instead of requiring a host PostgreSQL install. Includes a one-shot migrate service that pushes the Drizzle schema before the API starts. Web image serves the Vite build via nginx and proxies /api/* to the api-server. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 lines
70 B
Plaintext
5 lines
70 B
Plaintext
POSTGRES_USER=cra
|
|
POSTGRES_PASSWORD=cra
|
|
POSTGRES_DB=cra
|
|
WEB_PORT=8080
|