Created
October 31, 2018 17:24
-
-
Save ludofleury/749e04bb9ba98b322919c25e73d43849 to your computer and use it in GitHub Desktop.
Docker Compose shared host based named volume with ${PWD} variant for mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.0" | |
services: | |
composer: | |
image: composer/composer | |
working_dir: /var/app | |
volumes: | |
- project:/var/app | |
- ./var/composer:/composer | |
volumes: | |
project: | |
driver: local | |
driver_opts: | |
type: none | |
device: ${PWD} | |
o: bind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment