changeset 148:d20c6ff9a821

DEP-12: upgrade to compose format 3.3
author smith@nwoca.org
date Mon, 10 Jul 2017 18:24:40 +0100
parents 2fd1dfc5c69c
children ab4effbe8d43
files pilot/setup.sh
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pilot/setup.sh	Mon Jul 10 18:16:55 2017 +0100
+++ b/pilot/setup.sh	Mon Jul 10 18:24:40 2017 +0100
@@ -5,8 +5,6 @@
 #
 #  /data/preview/sampletown $   /ssdt/compose2/preview/setup.sh [usas,usps...] 
 #
-# 
-#
 # Will create a docker-compose.yml and .env file with default settings.
 #
 # 
@@ -61,7 +59,7 @@
 
 if [ "$create" == "OK" ] 
 then
-    echo "version: \"3.1\""     > ./docker-compose.yml
+    echo "version: \"3.3\""     > ./docker-compose.yml
     echo "services:"            >> ./docker-compose.yml
 
     [ ! "$usas" == "" ] &&  cat $base/usas-services.yml >> ./docker-compose.yml
@@ -82,7 +80,7 @@
 else
     echo "
     
-    Error! docker-compose.yml file has been modified or checksum missing.  Can auto-apply update(s).
+    Error! docker-compose.yml file has been modified or checksum missing.  Can not auto-apply update(s).
            Move customizations to docker-compose.override.yml then delete the docker-compose.yml
 "
 fi