Skip to main content
Griffin Hub is configured through environment variables.

Database

VariableRequiredDefaultDescription
DATABASE_URLYesPostgreSQL connection string

Authentication

VariableRequiredDefaultDescription
AUTH_MODENoapi-keyAuthentication mode: api-key or oidc
AUTH_API_KEYSIf api-keySemicolon-separated API keys
AUTH_OIDC_ISSUERIf oidcOIDC issuer URL
AUTH_OIDC_AUDIENCENoOIDC audience (optional)

Scheduler

VariableRequiredDefaultDescription
SCHEDULER_ENABLEDNotrueEnable the scheduler
SCHEDULER_TICK_INTERVALNo30000Scheduler polling interval in ms

Executor

VariableRequiredDefaultDescription
EXECUTOR_QUEUE_BACKENDNopostgresQueue backend: postgres or sqs
PG_EXECUTOR_QUEUE_NAMESNolocalSemicolon-separated queue names (Postgres backend)
SQS_EXECUTOR_QUEUESIf sqsSQS queues in region|url format, semicolon-separated
MONITOR_EXECUTION_TIMEOUTNo30000Execution timeout in ms
WORKER_EMPTY_DELAYNo1000Initial delay when queue is empty (ms)
WORKER_MAX_EMPTY_DELAYNo30000Max delay when queue is empty (ms)

Secrets

VariableRequiredDefaultDescription
SECRET_PROVIDERNoenvSecret provider: env, aws, or vault
SECRET_ENV_PREFIXNoPrefix for env variable secret names
AWS_SECRETS_PREFIXNoPrefix for AWS Secrets Manager names
AWS_SECRETS_ROLE_ARNNoIAM role ARN for cross-account access
VAULT_ADDRIf vaultHashiCorp Vault address
VAULT_TOKENIf vaultVault authentication token

Notifications

VariableRequiredDefaultDescription
NOTIFICATION_QUEUE_BACKENDNopostgresQueue backend: postgres or sqs
NOTIFICATION_SQS_QUEUE_URLIf sqsSQS queue URL for notifications
NOTIFICATION_SQS_REGIONIf sqsAWS region for notification SQS queue

Integrations

VariableRequiredDefaultDescription
INTEGRATIONS_ENCRYPTION_KEYNo64-character hex key for encrypting credentials
OAUTH_CALLBACK_BASE_URLNoBase URL for OAuth callbacks
OAUTH_SLACK_CLIENT_IDNoSlack OAuth client ID
OAUTH_SLACK_CLIENT_SECRETNoSlack OAuth client secret

Platform (Cloud mode)

VariableRequiredDefaultDescription
PLATFORM_SECRETS_ENABLEDNoEnable platform secrets
PLATFORM_SECRETS_PROVIDERNoPlatform secret provider
PLATFORM_SECRETS_AWS_REGIONNoAWS region for platform secrets
PLATFORM_NOTIFICATIONS_ENABLEDNoEnable platform notifications
PLATFORM_EMAIL_PROVIDERNoEmail provider: resend or ses
PLATFORM_EMAIL_FROM_ADDRESSNoFrom address for email notifications
RESEND_API_KEYNoResend API key

Agent configuration (distributed mode)

These variables are for executor agents running separately from the hub:
VariableRequiredDefaultDescription
AGENT_LOCATIONYesLocation identifier for this agent
HUB_URLYesHub API endpoint URL
QUEUE_BACKENDNopostgresQueue backend: postgres, sqs, or redis
QUEUE_CONNECTION_STRINGYesBackend-specific connection string
HEARTBEAT_ENABLEDNotrueEnable heartbeat reporting
HEARTBEAT_INTERVAL_SECONDSNo30Heartbeat interval