Use version for the MySQL image to avoid issues with caching_sha2_password (#533)
This commit is contained in:
parent
673ec82aa3
commit
bb4e11c38e
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: mysql
|
image: mysql:5.7
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
|
- MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWORD}
|
||||||
- MYSQL_DATABASE=${DB_NAME}
|
- MYSQL_DATABASE=${DB_NAME}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
image: mysql
|
image: mysql:5.7
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=${DB_NAME}
|
- MYSQL_DATABASE=${DB_NAME}
|
||||||
- MYSQL_USER=${DB_USERNAME}
|
- MYSQL_USER=${DB_USERNAME}
|
||||||
|
|
Loading…
Reference in a new issue