初始化项目:langgraph 学习笔记与 lg_common 通用组件包

This commit is contained in:
gqt
2026-08-16 00:25:21 +08:00
commit b3f3b72f07
29 changed files with 25395 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
services:
postgres:
image: pgvector/pgvector:pg17
container_name: pgvector
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis:7.4-alpine
container_name: redis
restart: unless-stopped
command: redis-server --appendonly yes
ports:
- "6379:6379"
volumes:
- redisdata:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
volumes:
pgdata:
redisdata: