Skip to content

Commit 4afcdbd

Browse files
committed
Add docs for volumes_from
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
1 parent 94d82d4 commit 4afcdbd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/yml.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ expose:
5454
volumes:
5555
- cache/:/tmp/cache
5656

57+
-- Mount all of the volumes from another service or container
58+
volumes_from:
59+
- service_name
60+
- container_name
61+
5762
-- Add environment variables.
5863
-- Environment variables with only a key are resolved to values on the host
5964
-- machine, which can be helpful for secret or host-specific values.

0 commit comments

Comments
 (0)