mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
25 lines
653 B
YAML
25 lines
653 B
YAML
version: '2.3'
|
|
services:
|
|
mysql1:
|
|
image: mysql:5.7
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: clickhouse
|
|
ports:
|
|
- 3308:3306
|
|
command: --server_id=100 --log-bin='mysql-bin-1.log' --default-time-zone='+3:00' --gtid-mode="ON" --enforce-gtid-consistency
|
|
mysql2:
|
|
image: mysql:5.7
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: clickhouse
|
|
ports:
|
|
- 3388:3306
|
|
mysql3:
|
|
image: mysql:5.7
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: clickhouse
|
|
ports:
|
|
- 3368:3306
|