From a70488ec9d72ffb7a67111765d6927db0b600d4b Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Sat, 31 Oct 2020 17:17:17 +1100 Subject: [PATCH] Trying --retart flag on staging --- run_docker_stg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_docker_stg.sh b/run_docker_stg.sh index be1e92ab..3c88307c 100755 --- a/run_docker_stg.sh +++ b/run_docker_stg.sh @@ -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 \