chore(deploy): change webui port to 3090

This commit is contained in:
2026-05-05 15:01:35 +08:00
parent 73d476bcea
commit 24bc9448a0
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ cp deploy/compose.env.example .env
docker compose up -d --build
```
默认访问地址:<http://localhost:8080>
默认访问地址:<http://localhost:3090>
### 访问地址
+1 -1
View File
@@ -39,7 +39,7 @@ services:
backend:
condition: service_healthy
ports:
- "${CHECKIN_WEB_PORT:-8080}:80"
- "${CHECKIN_WEB_PORT:-3090}:80"
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/health >/dev/null"]
+2 -2
View File
@@ -2,7 +2,7 @@
# cp deploy/compose.env.example .env
# Public web port exposed by the web service.
CHECKIN_WEB_PORT=8080
CHECKIN_WEB_PORT=3090
# ==================== Backend runtime paths ====================
# Container-local defaults for the Compose deployment.
@@ -16,7 +16,7 @@ SECRET_KEY=change-this-to-a-long-random-secret
# Use the browser origins that will open the frontend.
# Public domain + optional intranet origins.
CORS_ORIGINS=https://checkin.example.com,http://192.168.1.10:8080,http://checkin.lan:8080
CORS_ORIGINS=https://checkin.example.com,http://192.168.1.10:3090,http://checkin.lan:3090
FRONTEND_URL=https://checkin.example.com
# ==================== Logging ====================
+5 -5
View File
@@ -26,7 +26,7 @@ cp deploy/compose.env.example .env
- `SECRET_KEY`: 改成足够长的随机字符串。
- `CORS_ORIGINS`: 改成浏览器实际访问的站点,例如 `https://checkin.example.com`
- `FRONTEND_URL`: 改成同一个公开站点,用于邮件里的链接。
- `CHECKIN_WEB_PORT`: 默认 `8080`,按服务器端口规划调整。
- `CHECKIN_WEB_PORT`: 默认 `3090`,按服务器端口规划调整。
- SMTP 配置:需要邮件通知时填写真实 SMTP 参数。
启动:
@@ -37,9 +37,9 @@ docker compose up -d --build
默认访问:
- Web UI: `http://localhost:8080`
- API 健康检查: `http://localhost:8080/health`
- API 文档: `http://localhost:8080/docs`
- Web UI: `http://localhost:3090`
- API 健康检查: `http://localhost:3090/health`
- API 文档: `http://localhost:3090/docs`
### 运行结构
@@ -131,7 +131,7 @@ docker compose up -d --build
端口占用:
```bash
sudo lsof -i :8080
sudo lsof -i :3090
```
修改 `.env` 中的 `CHECKIN_WEB_PORT` 后重新启动: