Use direct link to mysql:5.7 image

This commit is contained in:
Vladyslav Babak 2019-09-26 17:28:28 +03:00
parent 28937fa8ed
commit c1e40ab10f
2 changed files with 1 additions and 8 deletions

View File

@ -1,9 +1,7 @@
version: '3'
services:
mysql_master:
# image: mysql:5.7
build:
context: ./master
image: mysql:5.7
env_file:
- ./master/mysql_master.env
container_name: "mysql_master"

View File

@ -1,5 +0,0 @@
# see https://hub.docker.com/_/mysql/
FROM mysql:5.7
# RUN mysql -u root -e "GRANT REPLICATION SLAVE ON *.* TO 'mydb_slave_user'@'%' IDENTIFIED BY 'mydb_slave_pwd'; FLUSH PRIVILEGES;"