Skip to content

Settings¤

Most of the settings are loaded through environment variables.

Other settings may be set using a custom settings module.

The exposed settings are not guaranteed to be stable. We may change them at any time. We will try to avoid breaking changes, but we may not be able to avoid them.

Settings reference¤

Database settings (required)¤

  • POSTGRES_DB
  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_HOST
  • POSTGRES_PORT

Redis settings (required)¤

  • REDIS_HOST
  • REDIS_PORT

Redis DBs:

  • 0 for default
  • 1 for sessions
  • 2 for cache
  • 10 for celery

FireFighter settings¤

SSO OIDC settings¤

See django-oauth2-codeflow documentation for more details.

  • OIDC_OP_DISCOVERY_DOCUMENT_URL: url to the well-known OIDC discovery document
  • OIDC_UNUSABLE_PASSWORD: default: False
  • OIDC_RP_USE_PKCE: default: False
  • OIDC_RP_CLIENT_ID: required
  • OIDC_RP_CLIENT_SECRET: required
  • OIDC_TIMEOUT: timeout in seconds for OIDC requests (default: 15s)

Debug settings¤

DEBUG_TOOLBAR

Slack integration¤

Required settings¤

Optional settings¤

Confluence integration¤

ENABLE_CONFLUENCE

Pagerduty integration¤

Other settings¤

Django¤

Mapping environment variables¤

k/v pairs separated by , and :

FF_ENV_VAR_MAPPING=FIREFIGHTER_NAME:MY_CUSTOM_ENV_VAR_NAME,FIREFIGHTER_OTHER_NAME:MY_OTHER_CUSTOM_ENV_VAR_NAME

Useful for mapping environment variables to the ones used by FireFighter.

Warning

Content of the target environment variables will be overwritten.