docker-compose-development
docker-compose-development copied to clipboard
MySQL 8 support
We need it for Akeneo 4 and 5. Magento 2 can now run on MySQL 8 too.
docker-custom.yml;
version: "3"
volumes:
dockerdev-mysql8-volume:
external: true
services:
mysql8:
image: mysql:8
container_name: dockerdev-mysql8
volumes:
- ./conf.d/mysql/my.cnf:/etc/my.cnf.d/development.cnf:ro
- dockerdev-mysql8-volume:/var/lib/mysql:rw
environment:
- MYSQL_ROOT_PASSWORD
ports:
- 127.0.0.1:3307:3307
You can then access it through dev myroot -h mysql8 or use mysql -h mysql8 -u root -pPASSWORD where PASSWORD is in your ~/development/.env.
@JeroenBoersma can you add this to this repo so we can access the MySQL 8 host with our regular user?