0.4.0 convex及界面修改
This commit is contained in:
@@ -8,14 +8,16 @@ services:
|
||||
tags:
|
||||
- ghcr.io/hkuds/lightrag:latest
|
||||
ports:
|
||||
- "${PORT:-9621}:9621"
|
||||
- "7777:7777"
|
||||
volumes:
|
||||
- ./data/rag_storage:/app/data/rag_storage
|
||||
- ./data/inputs:/app/data/inputs
|
||||
- ./config.ini:/app/config.ini
|
||||
- ./.env:/app/.env
|
||||
- ../.env.all:/app/.env:ro
|
||||
env_file:
|
||||
- .env
|
||||
- ../.env.all
|
||||
environment:
|
||||
- POSTGRES_HOST=host.docker.internal
|
||||
restart: unless-stopped
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bunx --bun vite",
|
||||
"build": "bunx --bun vite build",
|
||||
"dev": "bunx --bun vite --mode all",
|
||||
"build": "bunx --bun vite build --mode all",
|
||||
"lint": "eslint .",
|
||||
"preview": "bunx --bun vite preview",
|
||||
"preview": "bunx --bun vite preview --mode all",
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch",
|
||||
"test:coverage": "bun test --coverage",
|
||||
"dev-no-bun": "vite",
|
||||
"build-no-bun": "vite build --emptyOutDir",
|
||||
"preview-no-bun": "vite preview"
|
||||
"dev-no-bun": "vite --mode all",
|
||||
"build-no-bun": "vite build --mode all --emptyOutDir",
|
||||
"preview-no-bun": "vite preview --mode all"
|
||||
},
|
||||
"dependencies": {
|
||||
"@faker-js/faker": "^9.9.0",
|
||||
|
||||
@@ -6,6 +6,8 @@ import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
// 约定:全局仅使用仓库根目录的 .env.all(通过 `--mode all` 读取)。
|
||||
envDir: path.resolve(__dirname, '../..'),
|
||||
plugins: [react(), tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
|
||||
Reference in New Issue
Block a user