diff --git a/build_exe.bat b/build_exe.bat index b1c2e97..ea20a64 100644 --- a/build_exe.bat +++ b/build_exe.bat @@ -7,7 +7,7 @@ REM 每次升级改 APP_VERSION,避免与正在运行的旧版本目录冲突 REM 使用:把整个文件夹拷到目标机器(或压缩成 zip 发送), REM 双击文件夹里的 Boss直聘AI投递-%APP_VERSION%.exe 运行。 REM ============================================================ -set APP_VERSION=1.18 +set APP_VERSION=1.19 echo [1/2] 安装打包依赖... pip install pyinstaller PySide6 --quiet diff --git a/client/config.py b/client/config.py index 5ce7530..c8d2051 100644 --- a/client/config.py +++ b/client/config.py @@ -8,7 +8,7 @@ class ClientSettings(BaseSettings): # ------------------------------------------------------- # 云端服务端地址(默认内置生产地址,.env 可覆盖) # ------------------------------------------------------- - SERVER_URL: str = "http://98.142.241.250:8000" + SERVER_URL: str = "http://199.7.140.197:8000" # ------------------------------------------------------- # 本地 Web 控制面板 diff --git a/docker-compose.yml b/docker-compose.yml index f1bd9be..353e695 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,9 @@ services: - --default-authentication-plugin=mysql_native_password - --max-allowed-packet=64M ports: - - "3306:3306" + # 宿主机 3306 已被 1Panel 的 MySQL 占用,这里对外映射到 3307; + # 容器间通信走 compose 内网,server 仍连 mysql:3306,不受此映射影响 + - "3307:3306" volumes: - mysql_data:/var/lib/mysql # 数据库初始化:仅在全新数据卷首次启动时执行 docs/schema.sql(服务端不再自动建表)