Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ composer:
$(EXEC) composer install

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
Expand Down
20 changes: 19 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,27 @@ 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
volumes:
- mysql-data:/var/lib/mysql
healthcheck:
test: [ "CMD", "mysql", "-e", "USE local;" ]
interval: 1s
retries: 30

selenium:
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome}
network_mode: service:nginx

volumes:
mysql-data:
driver: local
driver_opts:
type: tmpfs
device: tmpfs