Update docker-compose.yml

Correcting the MySQL port in docker-compose.yml to be possible to connect into mysql_master and mysql_slave from the host on the 4406 and 5506 ports.
pull/1/head
renanbenedicto 6 years ago committed by GitHub
parent 3de1538f07
commit a027d49e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ services:
container_name: "mysql_master"
restart: "no"
ports:
- 4406:4406
- 4406:3306
volumes:
- ./master/conf/mysql.conf.cnf:/etc/mysql/conf.d/mysql.conf.cnf
- ./master/data:/var/lib/mysql
@ -23,7 +23,7 @@ services:
container_name: "mysql_slave"
restart: "no"
ports:
- 5506:5506
- 5506:3306
volumes:
- ./slave/conf/mysql.conf.cnf:/etc/mysql/conf.d/mysql.conf.cnf
- ./slave/data:/var/lib/mysql

Loading…
Cancel
Save