添加GraphRAG
This commit is contained in:
11
frontend-deploy/docker-compose.yml
Normal file
11
frontend-deploy/docker-compose.yml
Normal 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
|
||||
20
frontend-deploy/nginx.conf
Normal file
20
frontend-deploy/nginx.conf
Normal 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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user