Add attachments_files docker bind mount

This commit is contained in:
Karl Cordes 2019-07-02 15:19:23 +10:00
parent 0a08a7e8a9
commit 2a7750511a

View file

@ -2,7 +2,8 @@ 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 \
--mount type=bind,source=/home/cmc/cmc-sales/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf
--mount type=bind,source=/home/cmc/cmc-sales/app/webroot/attachments_files,target=/var/www/cmc-sales/app/webroot/attachments_files \
--mount type=bind,source=/mnt/vault/emails,target=/var/www/emails \
--mount type=bind,source=/mnt/vault/vaultmsgs,target=/var/www/vaultmsgs \
cmc:latest