mount pdf and attachments from vault mount

This commit is contained in:
Karl Cordes 2020-08-10 22:20:38 +10:00
parent 15770374d5
commit 56371ce85d
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ $host = $_SERVER['HTTP_HOST'];
Configure::write('smtp_settings', array(
'port' => '25',
'timeout' => '30',
'host' => 'smtp-relay.gmail.com',
'host' 'smtp-relay.gmail.com',
'username' => 'sales',
'password' => 'S%s\'mMZ})MGsg$k!5N|mPSQ>}'));

View file

@ -2,8 +2,8 @@ ID=$(docker ps -qf ancestor='cmc:latest')
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/attachments_files,target=/var/www/cmc-sales/app/webroot/attachments_files \
--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 \
--mount type=bind,source=/mnt/vault/vaultmsgs,target=/var/www/vaultmsgs \
cmc:latest