Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker Compose shared host based named volume with ${PWD} variant for mac
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
You can’t perform that action at this time.