Skip to content

feat: dockerize SAG application#12

Open
qwan30 wants to merge 1 commit into
Zleap-AI:mainfrom
qwan30:feature-docker-deployment
Open

feat: dockerize SAG application#12
qwan30 wants to merge 1 commit into
Zleap-AI:mainfrom
qwan30:feature-docker-deployment

Conversation

@qwan30

@qwan30 qwan30 commented Jul 8, 2026

Copy link
Copy Markdown

Fixes #6. Provides a complete Docker image and orchestrates it with docker-compose.

- Add multi-stage Dockerfile
- Add docker-entrypoint.sh for migrations
- Update docker-compose.yml to orchestrate app and postgres
@aikailei

Copy link
Copy Markdown
Contributor

docker-entrypoint.sh 当前只执行 migration,没有执行项目既有的 seed 步骤。新建 Docker volume 时,entity_types 表为空;首次文档解析写入实体会报 entity_types seed data is missing; run npm run seed。
建议在 migration 后执行 node dist/src/db/seed.js,或改为调用等价的幂等初始化流程;并用全新 volume 验证一次上传、解析文档

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

提供完整的部署 Docker 镜像

2 participants