feat: enable local docker demo mode
Some checks failed
Build and Push Docker Images / changes (push) Has been cancelled
Build and Push Docker Images / build-backend (push) Has been cancelled
Build and Push Docker Images / build-frontend (push) Has been cancelled
Build and Push Docker Images / build-admin-frontend (push) Has been cancelled

This commit is contained in:
2026-04-18 12:01:27 +08:00
parent 0613238a37
commit 44405ff7ac
12 changed files with 341 additions and 36 deletions

View File

@@ -0,0 +1,12 @@
node_modules
dist
.env
.env.*
!.env.example
.vite
coverage
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
.DS_Store

View File

@@ -25,6 +25,12 @@ server {
proxy_set_header X-Real-IP $remote_addr;
}
location /auth/ {
proxy_pass http://backend:8000/auth/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
# 静态资源代理
location /static/ {
proxy_pass http://backend-admin:8001/static/;