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:
Steven Showers 2018-11-15 13:37:34 -05:00 committed by GitHub
parent 7d4ff441f9
commit 89fb933e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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