changeset 166:29c7c4c4e891 hotfix/v1.2.1

if missing, create override file with correct version
author smith@nwoca.org
date Wed, 16 Aug 2017 16:12:01 +0100
parents 37d03f440b4b
children b08e4390f2bb ee988f16aaa6 2d71e4c24606
files pilot/setup.sh
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pilot/setup.sh	Wed Aug 16 16:11:17 2017 +0100
+++ b/pilot/setup.sh	Wed Aug 16 16:12:01 2017 +0100
@@ -91,7 +91,7 @@
     md5calc ./docker-compose.yml > .docker-compose.md5
 
     echo "created docker-compose.yml"
-    
+  
 else
     echo "
     
@@ -99,7 +99,12 @@
            Move customizations to docker-compose.override.yml then delete the docker-compose.yml
 "
 fi
-   
+    
+if [ ! -e "docker-compose.override.yml" ] 
+then 
+   echo 'version: "3.3"' >> docker-compose.override.yml   
+fi
+    
 if [ "$USAS_APPLICATIONID" == "" ]
 then
    read -e -p "Generate USAS and USPS integration config? <Y/n> " answer