Basic configuration

None of these values are required If you are running our AWS Stack setup. They are already set and configured for you.

EnvironmentDescription
POSTGRES_DB_URIThe postgres connection string to connect in the database.
API_URLAPI URL address, usually where your DNS will be pointed to
IDP_URIOIDC & Oauth2 configuration in URI format: <scheme>://<client-id>:<client-secret>@<issuer-host>?<options>

The <options> could be used for further configuration by passing them as query strings.

OptionDescription
scopesAdditional Oauth2 scopes to append to the request. Default values are openid, profile and email.
groupsclaimThe name of the claim to consider as configuration to propagate groups. Default to https://app.hoop.dev/groups
_userinfoWhen this option is set to 1 it forces to authenticate using the userinfo endpoint.

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_PROVIDERIt can be empty, 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.
ADMIN_USERNAMEadminChanges the name of the group to act as the admin role