Pull latest files before running
This commit is contained in:
parent
67ca2c5ced
commit
52ff7e2907
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue