mirror of
https://github.com/docker/compose.git
synced 2025-09-25 02:37:42 +02:00
Add docs for volumes_from
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
94d82d4acb
commit
4afcdbdb3c
@ -54,6 +54,11 @@ expose:
|
|||||||
volumes:
|
volumes:
|
||||||
- cache/:/tmp/cache
|
- cache/:/tmp/cache
|
||||||
|
|
||||||
|
-- Mount all of the volumes from another service or container
|
||||||
|
volumes_from:
|
||||||
|
- service_name
|
||||||
|
- container_name
|
||||||
|
|
||||||
-- Add environment variables.
|
-- Add environment variables.
|
||||||
-- Environment variables with only a key are resolved to values on the host
|
-- Environment variables with only a key are resolved to values on the host
|
||||||
-- machine, which can be helpful for secret or host-specific values.
|
-- machine, which can be helpful for secret or host-specific values.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user