mirror of https://github.com/docker/compose.git
commit
da2aae2a29
|
@ -798,7 +798,7 @@ called `data` and mount it into the `db` service's containers.
|
||||||
You can also specify the name of the volume separately from the name used to
|
You can also specify the name of the volume separately from the name used to
|
||||||
refer to it within the Compose file:
|
refer to it within the Compose file:
|
||||||
|
|
||||||
volumes
|
volumes:
|
||||||
data:
|
data:
|
||||||
external:
|
external:
|
||||||
name: actual-name-of-volume
|
name: actual-name-of-volume
|
||||||
|
|
Loading…
Reference in New Issue