Documentation
Installation
Installation
Installation
Local (Go)
make init
make build
This produces rag-server and rag-cli binaries in the repository root.
Docker
The repo includes a Dockerfile for Cloud Run-style images:
docker build -t rag-server:local .
docker run -p 8080:8080 \
-e PORT=8080 \
-e DATABASE_URL="postgres://user:pass@host:5432/db?sslmode=disable" \
rag-server:local
The container entrypoint looks for a config file at /etc/rag-server/server.yaml
by default and will copy from /app/config if present.
Configuration file locations
The server resolves config in this order:
--config <path>flagconfig/rag-server.yamlif present (legacy filename)config/server.yaml
Prefer config/server.yaml for new deployments.
For container deployments, use CONFIG_PATH=/etc/rag-server/server.yaml to point
the process at the mounted config.
Feedback