Compare commits

...
1 Commits
Author SHA1 Message Date
lingyunxsh ee008c5915 服务端迁移到新地址,MySQL 对外端口改 3307
宿主机 3306 已被 1Panel 的 MySQL 占用,compose 起不来导致后端连不上库、
登录接口 500。容器间仍走 mysql:3306 内网,仅宿主机映射改为 3307。
2026-10-20 22:40:12 +08:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ REM 每次升级改 APP_VERSION,避免与正在运行的旧版本目录冲突
REM 使用:把整个文件夹拷到目标机器(或压缩成 zip 发送), REM 使用:把整个文件夹拷到目标机器(或压缩成 zip 发送),
REM 双击文件夹里的 Boss直聘AI投递-%APP_VERSION%.exe 运行。 REM 双击文件夹里的 Boss直聘AI投递-%APP_VERSION%.exe 运行。
REM ============================================================ REM ============================================================
set APP_VERSION=1.18 set APP_VERSION=1.19
echo [1/2] 安装打包依赖... echo [1/2] 安装打包依赖...
pip install pyinstaller PySide6 --quiet pip install pyinstaller PySide6 --quiet
+1 -1
View File
@@ -8,7 +8,7 @@ class ClientSettings(BaseSettings):
# ------------------------------------------------------- # -------------------------------------------------------
# 云端服务端地址(默认内置生产地址,.env 可覆盖) # 云端服务端地址(默认内置生产地址,.env 可覆盖)
# ------------------------------------------------------- # -------------------------------------------------------
SERVER_URL: str = "http://98.142.241.250:8000" SERVER_URL: str = "http://199.7.140.197:8000"
# ------------------------------------------------------- # -------------------------------------------------------
# 本地 Web 控制面板 # 本地 Web 控制面板
+3 -1
View File
@@ -19,7 +19,9 @@ services:
- --default-authentication-plugin=mysql_native_password - --default-authentication-plugin=mysql_native_password
- --max-allowed-packet=64M - --max-allowed-packet=64M
ports: ports:
- "3306:3306" # 宿主机 3306 已被 1Panel 的 MySQL 占用,这里对外映射到 3307;
# 容器间通信走 compose 内网,server 仍连 mysql:3306,不受此映射影响
- "3307:3306"
volumes: volumes:
- mysql_data:/var/lib/mysql - mysql_data:/var/lib/mysql
# 数据库初始化:仅在全新数据卷首次启动时执行 docs/schema.sql(服务端不再自动建表) # 数据库初始化:仅在全新数据卷首次启动时执行 docs/schema.sql(服务端不再自动建表)