Trying --retart flag on staging
This commit is contained in:
parent
291bb67f17
commit
a70488ec9d
|
|
@ -1,7 +1,7 @@
|
|||
ID=$(docker ps -qf ancestor='cmc:stg')
|
||||
docker kill $ID
|
||||
sleep 1
|
||||
docker run -d -p 127.0.0.1:9999:80 \
|
||||
docker run -d --restart always -p 127.0.0.1:9999:80 \
|
||||
--mount type=bind,source=/home/cmc/staging/app/webroot/pdf,target=/var/www/cmc-sales/app/webroot/pdf \
|
||||
--mount type=bind,source=/home/cmc/staging/app/webroot/attachments_files,target=/var/www/cmc-sales/app/webroot/attachments_files \
|
||||
--mount type=bind,source=/home/cmc/staging/vault/emails,target=/var/www/emails \
|
||||
|
|
|
|||
Loading…
Reference in a new issue