Improve names in Compose file 2 example

Just makes it a bit clearer what's going on.

Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
Ben Firshman 2016-02-03 17:42:57 -08:00 committed by Aanand Prasad
parent 19ae76a442
commit 8199c4a6e1
1 changed files with 7 additions and 7 deletions

View File

@ -864,21 +864,21 @@ A more extended example, defining volumes and networks:
volumes:
- .:/code
networks:
- front
- back
- front-tier
- back-tier
redis:
image: redis
volumes:
- data:/var/lib/redis
- redis-data:/var/lib/redis
networks:
- back
- back-tier
volumes:
data:
redis-data:
driver: local
networks:
front:
front-tier:
driver: bridge
back:
back-tier:
driver: bridge