cmc-sales/run_docker_prd.sh

10 lines
504 B
Bash
Raw Normal View History

2020-07-13 23:19:21 -07:00
ID=$(docker ps -qf ancestor='cmc:latest')
2018-12-15 19:23:18 -08:00
docker kill $ID
sleep 1
docker run -d --restart always -p 127.0.0.1:8888:80 \
--mount type=bind,source=/mnt/vault/pdf,target=/var/www/cmc-sales/app/webroot/pdf \
--mount type=bind,source=/mnt/vault/attachments_files,target=/var/www/cmc-sales/app/webroot/attachments_files \
--mount type=bind,source=/mnt/vault/emails,target=/var/www/emails \
2019-06-29 18:20:48 -07:00
--mount type=bind,source=/mnt/vault/vaultmsgs,target=/var/www/vaultmsgs \
cmc:latest