- Add Docker Compose configuration for PostgreSQL 17 with pgvector - Configure database credentials through a required POSTGRES_PASSWORD environment variable - Bind the database port to localhost and persist data in a named volume - Add a database health check using pg_isready - Add the pg client and TypeScript definitions
27 lines
574 B
JSON
27 lines
574 B
JSON
{
|
|
"name": "local-ai-platform",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "tsx --test src/**/*.test.ts",
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/server.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"fastify": "^5.12.7",
|
|
"pg": "^8.23.1",
|
|
"zod": "^4.6.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.6.5",
|
|
"@types/pg": "^8.23.1",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|