KI-AGENT: Lade Selfhost Setup ohne Repo Checkout
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 11s
Build and Push Docker Images / build-frontend (push) Successful in 11s
Build and Push Docker Images / build-website (push) Successful in 11s
Build and Push Docker Images / build-docs (push) Successful in 11s

This commit is contained in:
2026-05-20 21:17:12 +02:00
parent 9c1d3bc04c
commit 8bed6e2984
3 changed files with 80 additions and 57 deletions

View File

@@ -32,6 +32,18 @@ compose() {
fi
}
compose_stack() {
compose --env-file "$ENV_FILE" -f "$COMPOSE_FILE" "$@"
}
compose_start_command() {
if [[ "${FEDEO_USE_SUDO_DOCKER:-false}" == "true" ]]; then
echo "sudo docker compose --env-file $ENV_FILE -f $COMPOSE_FILE up -d"
else
echo "docker compose --env-file $ENV_FILE -f $COMPOSE_FILE up -d"
fi
}
usage() {
cat <<'USAGE'
FEDEO Selfhost Setup
@@ -481,15 +493,11 @@ main() {
fi
if [[ "$START_STACK" == "yes" ]]; then
compose -f "$COMPOSE_FILE" up -d
compose_stack up -d
else
echo
echo "Start später mit:"
if [[ "${FEDEO_USE_SUDO_DOCKER:-false}" == "true" ]]; then
echo " sudo docker compose -f $COMPOSE_FILE up -d"
else
echo " docker compose -f $COMPOSE_FILE up -d"
fi
echo " $(compose_start_command)"
fi
}