Use mysql_lb_port in dest port as well; remove unnecessary link to the mysql service.
This commit is contained in:
parent
69fe7ae610
commit
842ab6a5ac
@ -2,10 +2,8 @@ version: '2'
|
|||||||
services:
|
services:
|
||||||
mysql-lb:
|
mysql-lb:
|
||||||
image: rancher/lb-service-haproxy:v0.6.4
|
image: rancher/lb-service-haproxy:v0.6.4
|
||||||
links:
|
|
||||||
- mysql
|
|
||||||
ports:
|
ports:
|
||||||
- ${mysql_lb_port}:3306
|
- ${mysql_lb_port}:${mysql_lb_port}
|
||||||
mysql-data:
|
mysql-data:
|
||||||
image: busybox
|
image: busybox
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user