From 6640ff12651b74c2c6f70ec57695b39df0698464 Mon Sep 17 00:00:00 2001 From: Patchy Date: Tue, 7 May 2024 13:01:51 +1000 Subject: [PATCH] Use mysql:latest instead of skpr/mtk-mysql-empty:latest --- Makefile | 2 +- docker-compose.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index df7ecac..1952740 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ composer: $(EXEC) composer install --ignore-platform-req=php start: stop-php - PHP_VERSION=$(PHP_VERSION) $(DOCKER_COMPOSE) up --build -d + PHP_VERSION=$(PHP_VERSION) $(DOCKER_COMPOSE) up --build -d --wait stop: $(DOCKER_COMPOSE) stop diff --git a/docker-compose.yml b/docker-compose.yml index 25f5a44..fab63eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,8 +45,17 @@ services: - ./:/data mysql: - image: skpr/mtk-mysql-empty:latest + image: mysql:latest network_mode: service:nginx + environment: + MYSQL_ALLOW_EMPTY_PASSWORD: 1 + MYSQL_USER: local + MYSQL_PASSWORD: local + MYSQL_DATABASE: local + healthcheck: + test: [ "CMD", "mysql", "-e", "USE local;" ] + interval: 1s + retries: 30 selenium: image: ${SELENIUM_IMAGE:-selenium/standalone-chrome:111.0}