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:
parent
89c5b800e6
commit
bdddbe3a73
1 changed files with 7 additions and 7 deletions
|
|
@ -862,21 +862,21 @@ A more extended example, defining volumes and networks:
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- .:/code
|
||||||
networks:
|
networks:
|
||||||
- front
|
- front-tier
|
||||||
- back
|
- back-tier
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/redis
|
- redis-data:/var/lib/redis
|
||||||
networks:
|
networks:
|
||||||
- back
|
- back-tier
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
redis-data:
|
||||||
driver: local
|
driver: local
|
||||||
networks:
|
networks:
|
||||||
front:
|
front-tier:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
back:
|
back-tier:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue