Skip to content

Commit

Permalink
docker-compose examples: Remove affinities.
Browse files Browse the repository at this point in the history
With the dependency filter, affinities are no longer required.

Signed-off-by: Andrea Luzzardi <[email protected]>
  • Loading branch information
aluzzardi committed Feb 10, 2015
1 parent 97334b0 commit 12c5bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions script/demo/nsq/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ nsqd:
ports:
- "4150"
- "4151"
environment:
- affinity:container==*nsqlookupd*
links:
- nsqlookupd:nsqlookupd
command: -lookupd-tcp-address=nsqlookupd:4160
Expand All @@ -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
4 changes: 1 addition & 3 deletions script/demo/redmon/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 12c5bb1

Please sign in to comment.