Commit d744eb52 authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

Add a mysql 5.7 service

parent 64467a53
......@@ -9,10 +9,23 @@ services:
- mysql56:/var/lib/mysql
restart: always
mysql57:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- mysql57:/var/lib/mysql
- type: bind
source: ./mysql57/my.cnf
target: /etc/mysql/mysql.conf.d/99-custom.cnf
read_only: true
restart: always
php72:
build: ./php72
links:
- mysql56
- mysql57
volumes:
- type: bind
source: ./php72/php.ini
......@@ -59,6 +72,17 @@ services:
- mysql56:db
restart: always
phpmyadmin57:
image: phpmyadmin/phpmyadmin:4.8.4
environment:
PMA_USER: root
PMA_PASSWORD: root
links:
- mysql57:db
restart: always
volumes:
mysql56:
name: mysql56
mysql57:
name: mysql57
[mysqld]
sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment