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
ADMIN_USERNAMEadminChanges the name of the group to act as the admin role
AUDITOR_USERNAMEauditorChanges the name of the group to act as the auditor role
API_KEYWhen this environment is set, it enables authentication with full administrative privileges. The key must follow this format: {org-id}|{random-string}
ASK_AI_CREDENTIALSThe ChatGPT credentials in URL format: <scheme>://_:<apikey>@<api-host>
DLP_PROVIDERgcpWhich DLP provider to use: mspresidio or gcp
DISABLE_SESSIONS_DOWNLOADfalseControl if the download session is disabled or not
GIN_MODEreleaseTurn on (debug) logging of routes
GOOGLE_APPLICATION_CREDENTIALS_JSONGCP DLP credentials
GRPC_URLgrpc://127.0.0.1:8010The gRPC URL to advertise to clients.
IDP_AUDIENCEIdentity Provider Audience (Oauth2)
LOG_ENCODINGjsonThe encoding of output logs (console)
LOG_GRPC”1” enables logging gRPC protocol
LOG_LEVELinfoThe verbosity of logs (debug,info,warn,error)
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>
ORG_MULTI_TENANTEnable organization multi-tenancy
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
STATIC_UI_PATH/app/ui/publicThe path where the UI assets resides
TLS_CAThe path or value to the certificate authority (pem), e.g.: file:// or base64://
TLS_CERTThe path or value to the certificate server (pem) e.g.: file:// or base64://
TLS_KEYThe path or value to the RSA private key e.g.: file:// or base64://
WEBHOOK_APPKEYThe application key to send messages to the webhook provider.
WEBHOOK_APPURLThe Svix Server URL for self hosted setups.