修改docker-compsoe

This commit is contained in:
朱潮 2026-01-18 10:10:34 +08:00
parent 20d5e96986
commit de3d5f6bf1

View File

@ -5,8 +5,8 @@ services:
image: postgres:16-alpine image: postgres:16-alpine
container_name: qwen-agent-postgres container_name: qwen-agent-postgres
environment: environment:
- POSTGRES_USER=root - POSTGRES_USER=postgres
- POSTGRES_PASSWORD= - POSTGRES_PASSWORD=E5ACJo6zJub4QS
- POSTGRES_DB=agent_db - POSTGRES_DB=agent_db
ports: ports:
- "5432:5432" - "5432:5432"
@ -33,7 +33,7 @@ services:
- MAX_CONTEXT_TOKENS=262144 - MAX_CONTEXT_TOKENS=262144
- DEFAULT_THINKING_ENABLE=true - DEFAULT_THINKING_ENABLE=true
# PostgreSQL 配置 # PostgreSQL 配置
- CHECKPOINT_DB_URL=postgresql://root:@postgres:5432/agent_db - CHECKPOINT_DB_URL=postgresql://postgres:E5ACJo6zJub4QS@postgres:5432/agent_db
volumes: volumes:
# 挂载项目数据目录 # 挂载项目数据目录
- ./projects:/app/projects - ./projects:/app/projects