fix: 前端问题修复

This commit is contained in:
Kerwin
2025-07-21 15:27:58 +08:00
parent 51975ad408
commit 8ed7cbc181
10 changed files with 25 additions and 9 deletions

View File

@@ -47,6 +47,7 @@ docker compose ps
可以通过修改 `docker-compose.yml` 文件中的环境变量来配置服务:
后端 backend
```yaml
environment:
DB_HOST: postgres
@@ -55,7 +56,12 @@ environment:
DB_PASSWORD: password
DB_NAME: url_db
PORT: 8080
API_BASE: http://localhost:8080/api
```
前端 frontend
```yaml
environment:
API_BASE: /api
```
### 端口映射

View File

@@ -23,7 +23,7 @@ docker compose up --build -d
启动成功后,您可以通过以下地址访问:
- **前端界面**: http://localhost:3000
- **前端界面**: http://localhost:3030
默认用户密码: admin/password