Use mysql_lb_port in dest port as well; remove unnecessary link to the mysql service.

This commit is contained in:
Chris Fordham 2017-07-24 21:41:13 +10:00
parent 69fe7ae610
commit 842ab6a5ac

View File

@ -2,10 +2,8 @@ version: '2'
services:
mysql-lb:
image: rancher/lb-service-haproxy:v0.6.4
links:
- mysql
ports:
- ${mysql_lb_port}:3306
- ${mysql_lb_port}:${mysql_lb_port}
mysql-data:
image: busybox
labels: