Basic configuration

EnvironmentDescription
POSTGRES_DB_URIThe postgres connection string to connect in the database.
API_URLAPI URL address, usually where your DNS will be pointed to. If a prefix is included all endpoints and routes will be available at this prefix.

Local Authentication manages users and passwords locally and sign JWT access tokens to users.

EnvironmentDescription
AUTH_METHODThe authentication method to use (local or idp). Default to local
JWT_SECRET_KEYThe secret key to sign JWT tokens

Extra configuration

All fields below are not required but can give you some extra configuration options to attend your needs.

EnvironmentDefault ValueDescription
IDP_AUDIENCEIdentity Provider Audience (Oauth2)
GRPC_URL{API_URL}:8443The gRPC URL to advertise to clients.
STATIC_UI_PATH/app/ui/publicThe path where the UI assets resides
PLUGIN_AUDIT_PATH/opt/hoop/sessionsThe path where the temporary sessions are stored
PLUGIN_INDEX_PATH/opt/hoop/indexesThe path where the temporary indexes are stored
GIN_MODEreleaseTurn on (debug) logging of routes
LOG_ENCODINGjsonThe encoding of output logs (console)
LOG_LEVELinfoThe verbosity of logs (debug,info,warn,error)
LOG_GRPC“1” enables logging gRPC protocol
ORG_MULTI_TENANTEnable organization multi-tenancy
ASK_AI_CREDENTIALSThe ChatGPT credentials in URL format: <scheme>://_:<apikey>@<api-host>
GOOGLE_APPLICATION_CREDENTIALS_JSONGCP DLP credentials
DLP_PROVIDERgcpWhich DLP provider to use: mspresidio or gcp
MSPRESIDIO_ANALYZER_URLHost and port for MS Presidio Analyzer <host-to-analyzer:port>
MSPRESIDIO_ANONYMIZER_URLHost and port for MS Presidio Anonymizer<host-to-anonymizer:port>
WEBHOOK_APPKEYThe application key to send messages to the webhook provider.
WEBHOOK_APPURLThe Svix Server URL for self hosted setups.
ADMIN_USERNAMEadminChanges the name of the group to act as the admin role
API_KEYMust be in form of {org-id}|{random-string}. It safely bypasses user auth for certain endpoints. Check the list of endpoints you can request and all requisites to use this feature