mirror of https://github.com/docker/docs.git
docker-compose examples: Remove affinities.
With the dependency filter, affinities are no longer required. Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
97334b0193
commit
12c5bb172e
|
@ -9,8 +9,6 @@ nsqd:
|
|||
ports:
|
||||
- "4150"
|
||||
- "4151"
|
||||
environment:
|
||||
- affinity:container==*nsqlookupd*
|
||||
links:
|
||||
- nsqlookupd:nsqlookupd
|
||||
command: -lookupd-tcp-address=nsqlookupd:4160
|
||||
|
@ -19,8 +17,6 @@ nsqadmin:
|
|||
image: nsqio/nsqadmin
|
||||
ports:
|
||||
- "4171:4171"
|
||||
environment:
|
||||
- affinity:container==*nsqlookupd*
|
||||
links:
|
||||
- nsqlookupd:nsqlookupd
|
||||
command: -lookupd-http-address=nsqlookupd:4161
|
||||
command: -lookupd-http-address=nsqlookupd:4161
|
||||
|
|
|
@ -3,10 +3,8 @@ redis:
|
|||
|
||||
redmon:
|
||||
image: vieux/redmon
|
||||
environment:
|
||||
- affinity:container==*redis*
|
||||
links:
|
||||
- redis:redis
|
||||
ports:
|
||||
- "4567:4567"
|
||||
command: -r redis://redis:6379
|
||||
command: -r redis://redis:6379
|
||||
|
|
Loading…
Reference in New Issue