mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
24 lines
742 B
YAML
24 lines
742 B
YAML
version: '2.3'
|
|
services:
|
|
mysql57:
|
|
image: mysql:5.7
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: clickhouse
|
|
MYSQL_ROOT_HOST: ${MYSQL_ROOT_HOST}
|
|
DATADIR: /mysql/
|
|
expose:
|
|
- ${MYSQL_PORT}
|
|
command: --server_id=100
|
|
--log-bin='mysql-bin-1.log'
|
|
--default-time-zone='+3:00'
|
|
--gtid-mode="ON"
|
|
--enforce-gtid-consistency
|
|
--log-error-verbosity=3
|
|
--log-error=/mysql/error.log
|
|
--general-log=ON
|
|
--general-log-file=/mysql/general.log
|
|
volumes:
|
|
- type: ${MYSQL_LOGS_FS:-tmpfs}
|
|
source: ${MYSQL_LOGS:-}
|
|
target: /mysql/ |