Configuration File
Editdocker/integration-api/.integration.env before starting the service.
Required Variables
| Variable | Default | Description |
|---|---|---|
SECRET | rpd_pks | JWT signing secret — must be identical across all services |
POSTGRES__HOST | postgres | PostgreSQL host |
POSTGRES__DB_NAME | integration_db | Database name |
POSTGRES__AUTH__USER | rapida_user | Database user |
POSTGRES__AUTH__PASSWORD | — | Database password |
REDIS__HOST | redis | Redis host |
INTEGRATION_CRYPTO_KEY | — | AES-256-GCM encryption key for provider credentials |
WEB_HOST | web-api:9001 | web-api gRPC address |
Service Identity
| Variable | Default | Description |
|---|---|---|
SERVICE_NAME | integration-api | Internal service label |
HOST | 0.0.0.0 | Bind address |
PORT | 9004 | HTTP / gRPC port |
LOG_LEVEL | debug | debug · info · warn · error |
ENV | development | development · staging · production |
PostgreSQL
| Variable | Default | Description |
|---|---|---|
POSTGRES__HOST | postgres | Host (localhost for local dev) |
POSTGRES__PORT | 5432 | Port |
POSTGRES__DB_NAME | integration_db | Database name |
POSTGRES__AUTH__USER | rapida_user | User |
POSTGRES__AUTH__PASSWORD | rapida_db_password | Password |
POSTGRES__MAX_OPEN_CONNECTION | 10 | Connection pool size |
POSTGRES__SSL_MODE | disable | disable · require · verify-full |
Redis
| Variable | Default | Description |
|---|---|---|
REDIS__HOST | redis | Redis host (localhost for local dev) |
REDIS__PORT | 6379 | Redis port |
Optional OAuth Variables
Used when provider OAuth flows are enabled (Google, GitHub):| Variable | Description |
|---|---|
OAUTH_CALLBACK_URL | OAuth redirect URI |
GOOGLE_OAUTH_CLIENT_ID | Google OAuth app client ID |
GOOGLE_OAUTH_CLIENT_SECRET | Google OAuth app client secret |
GITHUB_OAUTH_CLIENT_ID | GitHub OAuth app client ID |
GITHUB_OAUTH_CLIENT_SECRET | GitHub OAuth app client secret |
Full Environment File
Next Steps
Adding Providers
How to implement the LargeLanguageCaller interface.
Overview
Integration API purpose and credential encryption.