Files
Vincent Letourneau f73daed67b Add MySQL version to the environment variables
The default version of MySQL is 5.7.22.

This change follows the change of MySQL for version 8 and the possible incompatibility with php and phpMyAdmin. see the links:

- https://bugs.php.net/bug.php?id=76243
- https://stackoverflow.com/questions/49948350/phpmyadmin-on-mysql-8-0
2018-04-29 10:58:11 +02:00

21 lines
354 B
Bash

#!/usr/bin/env bash
# See https://docs.docker.com/compose/environment-variables/#the-env-file
# Nginx
NGINX_HOST=localhost
# PHP
# See https://hub.docker.com/r/nanoninja/php-fpm/tags/
PHP_VERSION=latest
# MySQL
MYSQL_VERSION=5.7.22
MYSQL_HOST=mysql
MYSQL_DATABASE=test
MYSQL_ROOT_USER=root
MYSQL_ROOT_PASSWORD=root
MYSQL_USER=dev
MYSQL_PASSWORD=dev