|
@@ -4,9 +4,7 @@ services:
|
|
|
container_name: mysql80-1
|
|
container_name: mysql80-1
|
|
|
hostname: mysql80-1
|
|
hostname: mysql80-1
|
|
|
restart: always
|
|
restart: always
|
|
|
- ports:
|
|
|
|
|
- - "3306:3306"
|
|
|
|
|
- - "33061:33061"
|
|
|
|
|
|
|
+ network_mode: host
|
|
|
environment:
|
|
environment:
|
|
|
MYSQL_ROOT_PASSWORD: "Root_123456"
|
|
MYSQL_ROOT_PASSWORD: "Root_123456"
|
|
|
volumes:
|
|
volumes:
|
|
@@ -39,9 +37,7 @@ services:
|
|
|
image: proxysql/proxysql:2.6.3
|
|
image: proxysql/proxysql:2.6.3
|
|
|
container_name: proxysql
|
|
container_name: proxysql
|
|
|
restart: always
|
|
restart: always
|
|
|
- ports:
|
|
|
|
|
- - "6032:6032"
|
|
|
|
|
- - "6033:6033"
|
|
|
|
|
|
|
+ network_mode: host
|
|
|
volumes:
|
|
volumes:
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
# ProxySQL 日志限制
|
|
# ProxySQL 日志限制
|