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
+1 -1
View File
@@ -28,7 +28,7 @@ services:
image: mysql:8.2
container_name: polymarket-bot-mysql
ports:
- "${MYSQL_PORT:-3306}:3306"
- "${MYSQL_PORT:-3307}:3306"
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-rootpassword}
- MYSQL_DATABASE=polymarket_bot