Only sync secrets on startup

This commit is contained in:
janskiba 2024-01-22 08:25:57 +00:00 committed by juarez
parent c60c9fc4b4
commit 4e3cd68922
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,6 @@ loadVars() {
export FOCUS_TAG=main export FOCUS_TAG=main
;; ;;
esac esac
sync_secrets
} }
case "$ACTION" in case "$ACTION" in
@ -91,6 +90,7 @@ case "$ACTION" in
loadVars loadVars
hc_send log "Bridgehead $PROJECT startup: Checking requirements ..." hc_send log "Bridgehead $PROJECT startup: Checking requirements ..."
checkRequirements checkRequirements
sync_secrets
hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..." hc_send log "Bridgehead $PROJECT startup: Requirements checked out. Now starting bridgehead ..."
exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit exec $COMPOSE -p $PROJECT -f ./minimal/docker-compose.yml -f ./$PROJECT/docker-compose.yml $OVERRIDE up --abort-on-container-exit
;; ;;