New MySQL host parameter in the .env file

This commit is contained in:
Vincent Letourneau
2017-08-03 11:34:38 +02:00
parent 6f0a9bb780
commit e479945f53
3 changed files with 5 additions and 4 deletions

View File

@@ -31,13 +31,13 @@ services:
- "8080:80"
environment:
- PMA_ARBITRARY=1
- PMA_HOST=mysql
- PMA_HOST=${MYSQL_HOST}
restart: always
depends_on:
- mysqldb
mysqldb:
image: mysql
container_name: mysql
container_name: ${MYSQL_HOST}
restart: always
env_file:
- ".env"