fix: 修改 MySQL 默认端口映射为 3307,避免与本地 MySQL 冲突

- 将 docker-compose.yml 中 MySQL 端口映射默认值改为 3307
- 更新 deploy.sh 中的示例配置
- 容器内部仍使用 3306,仅外部映射端口改为 3307
- 容器间通信不受影响(通过 Docker 网络)
This commit is contained in:
WrBug
2025-12-03 03:42:21 +08:00
parent 65a8e71b8d
commit 950acfeb04
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -55,8 +55,8 @@ SPRING_PROFILES_ACTIVE=prod
# 服务器端口(对外暴露的端口)
SERVER_PORT=80
# MySQL 端口(可选,用于外部连接)
MYSQL_PORT=3306
# MySQL 端口(可选,用于外部连接,默认 3307 避免与本地 MySQL 冲突
MYSQL_PORT=3307
# Polygon RPC
POLYGON_RPC_URL=https://polygon-rpc.com