Browse Source

Pull latest files before running

Nicolas Meienberger 3 years ago
parent
commit
52ff7e2907
1 changed files with 3 additions and 2 deletions
  1. 3 2
      scripts/start.sh

+ 3 - 2
scripts/start.sh

@@ -123,14 +123,15 @@ bash "${ROOT_FOLDER}/scripts/system-info.sh"
 
 # ansible-playbook ansible/start.yml -i ansible/hosts -K -e username="$USERNAME"
 
+docker-compose --env-file "${ROOT_FOLDER}/.env" pull
 # Run docker-compose
 docker-compose --env-file "${ROOT_FOLDER}/.env" up --detach --remove-orphans --build || {
   echo "Failed to start containers"
   exit 1
 }
 
-str=$(get_json_field ${STATE_FOLDER}/apps.json installed)
-apps_to_start=($str)
+# str=$(get_json_field ${STATE_FOLDER}/apps.json installed)
+# apps_to_start=($str)
 
 # for app in "${apps_to_start[@]}"; do
 #     "${ROOT_FOLDER}/scripts/app.sh" start $app