ClickHouse/tests/integration/compose/docker_compose_mysql_8_0.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
846 B
YAML
Raw Normal View History

services:
mysql80:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: clickhouse
MYSQL_ROOT_HOST: ${MYSQL8_ROOT_HOST}
DATADIR: /var/log/mysql/
2021-03-09 07:32:10 +00:00
expose:
- ${MYSQL8_PORT:-3306}
command: --server_id=100 --log-bin='mysql-bin-1.log'
--default_authentication_plugin='mysql_native_password'
--default-time-zone='+3:00' --gtid-mode="ON"
--enforce-gtid-consistency
2021-03-09 07:32:10 +00:00
--log-error-verbosity=3
--log-error=/var/log/mysql/error.log
2021-03-09 07:32:10 +00:00
--general-log=ON
--general-log-file=/var/log/mysql/general.log
2021-03-09 07:32:10 +00:00
volumes:
- type: ${MYSQL8_LOGS_FS:-tmpfs}
source: ${MYSQL8_LOGS:-}
target: /var/log/mysql/
user: ${MYSQL8_DOCKER_USER}