mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 04:46:26 +00:00
- 删除旧的Dockerfile.frontend和Dockerfile.backend,合并为单一的Dockerfile - 更新docker-compose.yaml以使用新的Dockerfile - 移除部署指南中的本地部署部分,添加docker部署说明 - 更新前端.env.production中的API地址 - 优化nginx配置以解决页面刷新404问题
15 lines
256 B
Bash
15 lines
256 B
Bash
# 生产环境
|
|
|
|
VITE_APP_ENV=production
|
|
|
|
# 页面 title 前缀
|
|
VITE_APP_TITLE=生产环境
|
|
|
|
# 网络请求公用前缀
|
|
VITE_APP_BASE_API=/api/v1
|
|
|
|
# 网络请求公用地址
|
|
VITE_API_BASE_URL='http://8.137.99.5:8001'
|
|
|
|
# 请求超时时间
|
|
VITE_TIMEOUT=10000 |