mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 05:52:05 +00:00
20 lines
408 B
YAML
20 lines
408 B
YAML
|
version: '2.3'
|
||
|
|
||
|
services:
|
||
|
mysql:
|
||
|
image: mysql:5.7.30
|
||
|
restart: always
|
||
|
environment:
|
||
|
MYSQL_DATABASE: 'db'
|
||
|
MYSQL_USER: 'user'
|
||
|
MYSQL_PASSWORD: 'password'
|
||
|
MYSQL_ROOT_PASSWORD: 'password'
|
||
|
expose:
|
||
|
- '3306'
|
||
|
healthcheck:
|
||
|
test: mysql -D db -u user --password=password -e "select 1;"
|
||
|
interval: 3s
|
||
|
timeout: 2s
|
||
|
retries: 40
|
||
|
start_period: 2s
|