mirror of https://github.com/docker/docs.git
Added `demo_` prefix to interlock label
Customer feedback received: ``` It leads users to expect that if they define a network in their compose file that they can use that network name in the Interlock network label which is not the case. The example "works" because the service is only attached to a single network, but in actuality the Interlock network label would need to be prefixed with the stack name in order for the example to work correctly. ``` The concern is valid; so I have added `demo_` as a prefix to the `com.docker.lb.network` label.
This commit is contained in:
parent
7d4ff441f9
commit
89fb933e06
|
|
@ -27,7 +27,7 @@ services:
|
|||
replicas: 1
|
||||
labels:
|
||||
com.docker.lb.hosts: app.example.org
|
||||
com.docker.lb.network: demo-network
|
||||
com.docker.lb.network: demo_demo-network
|
||||
com.docker.lb.port: 8080
|
||||
networks:
|
||||
- demo-network
|
||||
|
|
|
|||
Loading…
Reference in New Issue