From 2ccf9d566342d81c0c2c090c806c54d4eb3705fb Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 1 Sep 2020 10:42:12 +0200 Subject: [PATCH] chore(dev-server): Add MySQL to docker-compose --- packages/dev-server/docker-compose.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/dev-server/docker-compose.yml b/packages/dev-server/docker-compose.yml index 6494dbd631..0ba60d43bf 100644 --- a/packages/dev-server/docker-compose.yml +++ b/packages/dev-server/docker-compose.yml @@ -14,11 +14,29 @@ services: environment: - PMA_HOST=mariadb - PMA_USER=root - restart: always ports: - 8080:80 volumes: - /sessions + mysql: + image: bitnami/mysql:8.0 + environment: + ALLOW_EMPTY_PASSWORD: 'yes' + MYSQL_AUTHENTICATION_PLUGIN: mysql_native_password + volumes: + - 'mysql_data:/bitnami' + ports: + - '3306:3306' + phpmyadmin-mysql: + image: 'phpmyadmin/phpmyadmin:latest' + container_name: phpmyadmin-mysql + environment: + - PMA_HOST=mysql + - PMA_USER=root + ports: + - 8082:80 + volumes: + - /sessions postgres: image: postgres:12.3 environment: @@ -49,5 +67,7 @@ volumes: driver: local mariadb_data: driver: local + mysql_data: + driver: local phpmyadmin_data: driver: local