:pencli2: 修改文档.

This commit is contained in:
lijiahangmax
2026-01-06 12:38:50 +08:00
parent 35d3112339
commit 1285db903d
2 changed files with 8 additions and 1 deletions

View File

@@ -6,10 +6,13 @@ SPRING_PROFILES_ACTIVE=prod
DEMO_MODE=false
API_CORS=true
API_IP_HEADERS=X-Forwarded-For,X-Real-IP
# api 地址 (需要改为宿主机 IP)
API_HOST=0.0.0.0
# API_URL=http://127.0.0.1:9200/orion-visor/api
API_IP_HEADERS=X-Forwarded-For,X-Real-IP
# api 密钥 (建议修改)
API_EXPOSE_TOKEN=pmqeHOyZaumHm0Wt
# 加密密钥 (建议修改)
SECRET_KEY=uQeacXV8b3isvKLK
NGINX_SERVICE_HOST=service

View File

@@ -70,6 +70,10 @@
# clone
git clone --depth=1 https://github.com/dromara/orion-visor
cd orion-visor
# 复制配置
cp .env.example .env
# 修改配置
vim .env
# 启动
docker compose up -d
# 等待后端服务启动后 (2min±) 访问 http://localhost:1081/