mount pdf and attachments from vault mount
This commit is contained in:
parent
15770374d5
commit
56371ce85d
|
|
@ -50,7 +50,7 @@ $host = $_SERVER['HTTP_HOST'];
|
||||||
Configure::write('smtp_settings', array(
|
Configure::write('smtp_settings', array(
|
||||||
'port' => '25',
|
'port' => '25',
|
||||||
'timeout' => '30',
|
'timeout' => '30',
|
||||||
'host' => 'smtp-relay.gmail.com',
|
'host' 'smtp-relay.gmail.com',
|
||||||
'username' => 'sales',
|
'username' => 'sales',
|
||||||
'password' => 'S%s\'mMZ})MGsg$k!5N|mPSQ>}'));
|
'password' => 'S%s\'mMZ})MGsg$k!5N|mPSQ>}'));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ ID=$(docker ps -qf ancestor='cmc:latest')
|
||||||
docker kill $ID
|
docker kill $ID
|
||||||
sleep 1
|
sleep 1
|
||||||
docker run -d -p 127.0.0.1:8888:80 \
|
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/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/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/emails,target=/var/www/emails \
|
||||||
--mount type=bind,source=/mnt/vault/vaultmsgs,target=/var/www/vaultmsgs \
|
--mount type=bind,source=/mnt/vault/vaultmsgs,target=/var/www/vaultmsgs \
|
||||||
cmc:latest
|
cmc:latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue