mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
更新前后端环境配置示例文件,替换占位符为通用值 添加docker-compose示例文件 优化.gitignore文件,添加本地覆盖配置 统一各环境配置文件的格式和说明
21 lines
442 B
Bash
21 lines
442 B
Bash
# 环境
|
|
VITE_APP_ENV=production
|
|
|
|
# 项目名称
|
|
VITE_APP_TITLE=fastapiadmin
|
|
|
|
# 网络请求公用地址,如果没有认证可以使用http
|
|
VITE_API_BASE_URL=https://your-domain.com
|
|
|
|
# 代理前缀
|
|
VITE_APP_BASE_API=/api/v1
|
|
|
|
# 应用端口
|
|
VITE_APP_PORT=5180
|
|
|
|
# 超时时间
|
|
VITE_TIMEOUT=10000
|
|
|
|
# WebSocket 端点(不配置则关闭),ai对话需要配置,如果没有认证wss需要改为ws
|
|
VITE_APP_WS_ENDPOINT=wss://your-domain.com
|