Add vault emails mount to run_docker.sh

This commit is contained in:
Karl Cordes 2019-06-29 13:21:24 +10:00
parent cea6172759
commit c053fbba38

View file

@ -1,4 +1,7 @@
ID=$(docker ps -q)
docker kill $ID
sleep 1
docker run -d -p 127.0.0.1:8888:80 --mount type=bind,source=/home/cmc/cmc-sales/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf cmc:latest
docker run -d -p 127.0.0.1:8888:80 \
--mount type=bind,source=/home/cmc/cmc-sales/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf \
--mount type=bind,source=/mnt/vault/emails,target=/var/www/emails \
cmc:latest