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}