Skip to content

Commit

Permalink
默认读取URL对应的s3桶及目录上的文件, 后续把上传也对接s3。 当前测试使用的minio 替代 s3
Browse files Browse the repository at this point in the history
  • Loading branch information
zederer committed Sep 26, 2024
1 parent eade8c1 commit 7ebcf7d
Show file tree
Hide file tree
Showing 9 changed files with 394 additions and 36 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,20 @@ The logic for creating relationships for text units, documents, communities, and
| Text Unit | `HAS_COVARIATE` | Covariate |
| Community | `HAS_FINDING` | Finding |
| Entity | `IN_COMMUNITY` | Community |


##


```bash

docker compose build

docker compose up -d

images=$(grep 'image:' docker-compose.yml | awk '{print $2}')

docker save -o graphrag-visualizer.tar $images


```
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ services:
- "3004:3004"
environment:
NODE_ENV: development
MINIO_ACCESS_KEY: minio // 设置环境变量或直接传值
MINIO_SECRET_KEY: minio@123
MINIO_ENDPOINT: http://192.168.1.182:9080 // Minio 的 S3 兼容地址

volumes:
- /opt/dintal/work/graphrag-visualizer:/app/graphrag-visualizer/data
networks:
Expand Down
Loading

1 comment on commit 7ebcf7d

@delez911
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request a merge

Please sign in to comment.