fix: 修改 MySQL 默认端口映射为 3307,避免与本地 MySQL 冲突
- 将 docker-compose.yml 中 MySQL 端口映射默认值改为 3307 - 更新 deploy.sh 中的示例配置 - 容器内部仍使用 3306,仅外部映射端口改为 3307 - 容器间通信不受影响(通过 Docker 网络)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user