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
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user