diff --git a/.github/scripts/docker-compose.yml b/.github/scripts/docker-compose.yml index a8d89941f7d..43a67ffbcad 100644 --- a/.github/scripts/docker-compose.yml +++ b/.github/scripts/docker-compose.yml @@ -17,6 +17,7 @@ services: volumes: # Turns out you can drop .sql or .sql.gz files in here, cool! - ./mysql-preload:/docker-entrypoint-initdb.d + - mysql-data:/var/lib/mysql healthcheck: test: "mysql -uroot -proot ghost -e 'select 1'" interval: 1s @@ -36,4 +37,6 @@ services: - "9411:9411" restart: always environment: - COLLECTOR_ZIPKIN_HOST_PORT: :9411 \ No newline at end of file + COLLECTOR_ZIPKIN_HOST_PORT: :9411 +volumes: + mysql-data: