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
|
|
@ -3,6 +3,9 @@
|
|||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^17.3.1",
|
||||
"drizzle-orm": "^0.45.1",
|
||||
|
|
|
|||
|
|
@ -2,5 +2,11 @@
|
|||
"name": "@glossa/shared",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module"
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
export const placeholder = true;
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"moduleResolution": "NodeNext",
|
||||
"outDir": "./dist",
|
||||
"resolveJsonModule": true,
|
||||
"types": ["vitest/globals"]
|
||||
"types": ["vitest/globals"],
|
||||
},
|
||||
"include": ["src", "vitest.config.ts"]
|
||||
"include": ["src", "vitest.config.ts"],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue