Skip to content

Commit

Permalink
chore(dev-server): Add MySQL to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Sep 1, 2020
1 parent 7a9aa70 commit 2ccf9d5
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion packages/dev-server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -49,5 +67,7 @@ volumes:
driver: local
mariadb_data:
driver: local
mysql_data:
driver: local
phpmyadmin_data:
driver: local

0 comments on commit 2ccf9d5

Please sign in to comment.