ClickHouse/docker/test/integration/runner/compose/docker_compose_mysql_client.yml

14 lines
325 B
YAML

version: '2.3'
services:
mysql1:
image: mysql:5.7
restart: always
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
command: --federated --socket /var/run/mysqld/mysqld.sock
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 1s
timeout: 2s
retries: 100