fix: pull images before starting

This commit is contained in:
Nicolas Meienberger 2022-12-06 14:20:47 +01:00
parent cea3605e06
commit c277979b2f

View file

@ -161,6 +161,11 @@ function start_app() {
ensure_permissions "${app}"
# Pull images
if ! compose "${app}" pull; then
write_log "Failed to pull app ${app}"
fi
if ! compose "${app}" up --detach; then
write_log "Failed to start app ${app}"
exit 1