Initial commit: Luminary AI Gateway
CI / docker (push) Successful in 2m4s

OpenAI-compatible AI gateway with Vue admin UI, multi-provider egress,
ingress key governance, monitoring, and security controls.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
renjue
2026-06-23 21:46:16 +08:00
commit 76ba500417
134 changed files with 18988 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
# Emergency recovery inside the container or local checkout.
set -eu
DATA_DIR="${LUMINARY_DATA:-/data}"
REPO_DIR="${LUMINARY_HOME:-/opt/luminary}"
if [ -x /usr/local/bin/luminary-recover ]; then
exec /usr/local/bin/luminary-recover -data-dir "$DATA_DIR" "$@"
fi
if [ -x "${REPO_DIR}/luminary-recover" ]; then
exec "${REPO_DIR}/luminary-recover" -data-dir "$DATA_DIR" "$@"
fi
if [ -f "${REPO_DIR}/go.mod" ]; then
cd "$REPO_DIR"
export CGO_ENABLED=0
exec go run ./cmd/luminary-recover -data-dir "$DATA_DIR" "$@"
fi
echo "luminary-recover binary not found" >&2
exit 1