Fixup docker mount error

Prior to this commit, docker compose couldn't mount a file to a dir on
the container. This commit fixes that up by mounting the projects src
dir to the vmpoolers config location.
This commit is contained in:
Brian Cain 2019-02-04 09:29:28 -08:00
parent 8acf28d0b8
commit 9f72a6a6df
No known key found for this signature in database
GPG key ID: 9FC4639B2E4510A0

View file

@ -7,8 +7,8 @@ services:
dockerfile: docker/Dockerfile_local dockerfile: docker/Dockerfile_local
volumes: volumes:
- type: bind - type: bind
source: ${PWD}/vmpooler.yaml source: ${PWD}
target: /etc/vmpooler/vmpooler.yaml target: /etc/vmpooler
ports: ports:
- "4567:4567" - "4567:4567"
networks: networks: