From 56371ce85d78da558039ab4e45c3035715280b20 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Mon, 10 Aug 2020 22:20:38 +1000 Subject: [PATCH] mount pdf and attachments from vault mount --- app/config/core.php | 2 +- run_docker_prd.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/core.php b/app/config/core.php index 7353e1c1..5f973b81 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -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>}')); diff --git a/run_docker_prd.sh b/run_docker_prd.sh index 299156ad..c9e97b81 100755 --- a/run_docker_prd.sh +++ b/run_docker_prd.sh @@ -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