Deployment & Configuration

3. Deployment Options

3.1 Docker Deployment (Recommended)

Docker is the recommended way to deploy RIVO Server in production.

docker build -t rivo-server:latest .

Run with essential env vars:

docker run -d \
  -p 8080:8080 \
  -e RIVO_AUTH_JWT_ACCESS_SECRET="your-32-char-secret" \
  -e RIVO_AUTH_JWT_REFRESH_SECRET="your-refresh-secret" \
  rivo-server:latest

3.2 Binary Deployment

Direct execution on Linux, macOS, or Windows. Use systemd for persistence on Linux.

4. Configuration Reference

RIVO can be configured via config.yaml or environment variables (prefixed with RIVO_).

Essential Settings

Key Env Var Description
auth.jwt.access_secret RIVO_AUTH_JWT_ACCESS_SECRET Min 32-char key for JWT
database.type RIVO_DATABASE_TYPE "sqlite" or "postgres"
server.port RIVO_SERVER_PORT Default: 8080