添加GraphRAG

This commit is contained in:
2026-03-31 19:07:20 +08:00
parent d2cf97387b
commit be26ad3eee
8 changed files with 51 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
services:
dt_map:
image: nginx:alpine
container_name: dt_map
restart: unless-stopped
ports:
- "80:80"
volumes:
- ../dist:/usr/share/nginx/html:ro
- ../data:/usr/share/nginx/data:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro

View File

@@ -0,0 +1,20 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml;
gzip_min_length 1024;
location / {
try_files $uri $uri/ /index.html;
}
location /data/ {
alias /usr/share/nginx/data/;
charset utf-8;
}
location /assets/ {
expires 30d;
add_header Cache-Control "public, immutable";
}
}