.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
SERVER_PORT
Spring Boot
RAG_APP_NAME
Product display name (UI / OpenAPI). Repo artifact remains spring-ai-rag.
RAG_APP_DISPLAY_NAME
QDRANT_REST_PORT
Qdrant (Phase 1: connection + health)
QDRANT_GRPC_PORT
RAG_QDRANT_ENABLED
RAG_QDRANT_SCHEME
RAG_QDRANT_HOST
RAG_QDRANT_PORT
RAG_QDRANT_API_KEY
secret
RAG_QDRANT_TIMEOUT
RAG_QDRANT_COLLECTION_PREFIX
POSTGRES_PORT
PostgreSQL Phase 9 metadata persistence
POSTGRES_DB
POSTGRES_USER
POSTGRES_PASSWORD
secret
SPRING_DATASOURCE_URL
SPRING_DATASOURCE_USERNAME
SPRING_DATASOURCE_PASSWORD
secret
RAG_EMBEDDING_PROVIDER
Embedding Phase 3 runtime configuration
brew install flyctl && fly launch --from https://github.com/alanhuang168/spring-ai-rag
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/alanhuang168/spring-ai-rag
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/alanhuang168/spring-ai-rag