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:
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user