Full List of Variables
Main environment variables
CLIENT_NAME— client login for Gramax Enterprise Server. Used for authentication in Docker Registry and when substituting values into configuration variables. Issued at purchase. Required. Example:gramaxGES_URL— URL where GES will be available. Required. Example:https://enterprise.gramax.localAUTH_SERVICE_URL— URL where the auth service will be available. Example:https://ges.gram.ax/authDIAGRAM_RENDERER_SERVICE_URL— URL where the Diagram-renderer service will be available. Example:https://ges.gram.ax/diagram-rendererALLOWED_GRAMAX_URLS— URLs of Gramax instances (documentation portal, browser version, and GES), comma-separated. No trailing comma. Required. Example:https://some-instance.gram.ax,https://another-instance.gram.axLICENSE_KEY— license key for Gramax Enterprise Server. Issued at purchase. Required. Example:765d562b9092eec3…GIT_SERVER_TOKEN— access token for the Git server for reading/cloning repositories. Required. Example:glpat-...GES_ADMIN_EMAILS— workspace owner emails, comma-separated. Written to config only on first startup. Required. Example:admin1@gramax.local,admin2@gramax.localGIT_SERVER_URL— GitLab server address for external storage. Required. Example:https://gitlab.example.comENTERPRISE_STORAGE_TYPE— configuration storage type:gitlaborlocal. Required. Example:gitlabENTERPRISE_CONFIG_PATH— forENTERPRISE_STORAGE_TYPE=local: path to the GES settings folder on the virtual machine. Required. Default:/app/configGIT_PROJECT_PATH— forENTERPRISE_STORAGE_TYPE=gitlab: path to the settings repository in GitLab, asgroup/repository-name. Must be created before initialization. Required. Example:dr/gramax-yaml-managerGIT_PROJECT_BRANCH— branch of theGIT_PROJECT_PATHrepository, if it differs from master. Default:master. Example:mainENTERPRISE_SERVICE_ENCRYPTION_KEY— key for secure data transfer between services. Required. Example:5caf59ed...cddb8489COOKIE_SECRET— key for encrypting user secrets in cookies. Recommended: a 32-byte key (openssl rand -hex 32). Example:397b6f3bf51a73b9...
For resource allocation and Ingress settings, see Helm chart system values.
SSO sign-in
AUTH_METHOD— SSO authorization method. All parameters related toAUTH_METHODare required. Options:azure,adfs,keycloak,openid,ldap,kerberos. Example:AUTH_METHOD=azureCONNECTOR_TYPE— method for retrieving the user list. All parameters related toCONNECTOR_TYPEare required. Options:ldap,keycloak,scim. Example:CONNECTOR_TYPE=ldap
Authorization
For AUTH_METHOD = azure
AZURE_AUTHORIZATION_URL— authorization endpoint URL. Example:https://login.microsoftonline.com/HohLpGvI.../oauth2/v2.0/authorizeAZURE_TOKEN_URL— token endpoint URL. Example:https://login.microsoftonline.com/HohLpGvI.../oauth2/v2.0/tokenAZURE_API_URL— API information endpoint URL. Example:https://graph.microsoft.com/v1.0AZURE_CLIENT_ID— application ID in Azure. Example:0FYSAWm1A-1x4k-e14H-0LHe-gf6qwElcYuzAZURE_CLIENT_SECRET— application secret in Azure. Example:rY3yh*suIebMk^k0KGoi3azsIBP&FY@odQsgFVdc
For AUTH_METHOD = adfs
ADFS_CERT— certificate used for authentication in ADFS.ADFS_ENTRYPOINT— authentication entry point. Example:https://adfs.gram.ax/adfs/ls/ADFS_ISSUER— ADFS identifier. Example:https://adfs.gram.ax/ADFS_CALLBACK_URL— callback URL after successful authentication. Example:https://app.gram.ax/auth/cb
For AUTH_METHOD = keycloak
KEYCLOAK_SERVER_URL— Keycloak server URL. Example:https://keycloak.gram.ax/auth/KEYCLOAK_REALM— realm name in Keycloak. Example:gramaxKEYCLOAK_CLIENT_ID— Keycloak client ID.KEYCLOAK_USE_ACCESS_TOKEN_INFO— whether to read user info fromaccess_token. Example:KEYCLOAK_USE_ACCESS_TOKEN_INFO=true
For AUTH_METHOD = openid
OPEN_ID_SERVER_URL— OpenID server URL. Example:https://keycloak.gram.ax/auth/OPEN_ID_REALM— realm name in OpenID. Example:gramaxOPEN_ID_CLIENT_ID— OpenID client ID.OPEN_ID_CLIENT_SECRET— OpenID client secret.
For AUTH_METHOD = ldap
LDAP_URL— LDAP server URL. Example:ldap://ldap.example.com:389orldaps://ldap.example.com:636LDAP_ADMIN_DN— DN of the administrative user with directory search permissions. Example:gramax@gramax.ruLDAP_ADMIN_PASSWORD— password of the administrative user. Example:secretAdminPassLDAP_USER_SEARCH_BASE— DN of the base user search point. Example:ou=users,dc=example,dc=comLDAP_USERNAME_ATTRIBUTE— user attribute for search. Example:samaccountname,cn,mailLDAP_USER_DN— DN of a specific user, if known directly. Example:OU=Enabled,OU=GRAMAX-USERS,DC=gramax,DC=localLDAP_GROUP_SEARCH_BASE— DN of the base group search point. Example:ou=groups,dc=example,dc=comLDAP_GROUP_CLASS— object class of the group entry. Example:groupOfNamesLDAP_GROUP_MEMBER_ATTRIBUTE— attribute in a group entry containing its members. Example:memberLDAP_GROUP_MEMBER_USER_ATTRIBUTE— user attribute matched withLDAP_GROUP_MEMBER_ATTRIBUTE. Example:dnLDAP_ATTRIBUTES— comma-separated list of user attributes to return. If not specified, all are returned. Example:cn,sn,mail
For AUTH_METHOD = kerberos
KERBEROS_REALM— Kerberos realm (Active Directory domain). Must be in UPPERCASE. Example:COMPANY.LOCALKERBEROS_SERVICE_PRINCIPAL— Service Principal Name (SPN). Format:HTTP/hostname@REALM. Example:HTTP/gramax.company.local@COMPANY.LOCALKRB5_KTNAME— environment variable for the Kerberos library. Format:FILE:/path/to/keytab. Example:FILE:/opt/gramax/config/gramax.keytabKERBEROS_REALMmust exactly match the Active Directory domain in UPPERCASEKERBEROS_SERVICE_PRINCIPALmust match the SPN registered in Active DirectoryThe path in
KRB5_KTNAMEmust start with theFILE:prefixThe keytab file must have
600permissions
Get user list
For CONNECTOR_TYPE=ldap
LDAP_URL— LDAP server URL. Example:ldap://ldap.example.com:389orldaps://ldap.example.com:636LDAP_ADMIN_DN— user DN with directory search permissions. Example:gramax@gramax.ruLDAP_ADMIN_PASSWORD— password of the user specified inLDAP_ADMIN_DN. Example:secretAdminPassLDAP_USER_SEARCH_BASE— DN of the base user search point. Example:ou=users,dc=example,dc=comLDAP_GROUP_CLASS— LDAP object class used to search for groups. Example:groupLDAP_GROUP_SEARCH_BASE— DN of the base group search point. Example:ou=groups,dc=example,dc=comLDAP_SEARCH_GROUP_LIMIT— maximum number of groups returned during LDAP search. Example:15
For CONNECTOR_TYPE=keycloak
KEYCLOAK_SERVER_URL— Keycloak server URL. Example:https://keycloak.gram.ax/auth/KEYCLOAK_REALM— realm name in Keycloak. Example:gramaxKEYCLOAK_API_TOKEN— access token.
For CONNECTOR_TYPE=scim
SCIM_SERVER_URL— SCIM server URL. Example:https://scim.gram.ax/auth/SCIM_TOKEN— access token (used instead ofSCIM_ADMIN_LOGIN+SCIM_ADMIN_PASSWORD).SCIM_GET_USERS_FILTER— filter for user search. Default:userName co "${searchSubstring}"SCIM_ADMIN_LOGIN— username for Basic authorization (instead ofSCIM_TOKEN).SCIM_ADMIN_PASSWORD— password for Basic authorization (instead ofSCIM_TOKEN).
Logging
LOG_TYPE— log format:defaultorcef. Default:defaultLOG_LEVEL— minimum logging level:debug,info,warn,error,fatal. Default:infoLOG_TRANSPORTER— log output channel:consoleorsyslog. Default:consoleLOG_SYSLOG_HOST— Syslog server host. Default:127.0.0.1LOG_SYSLOG_PORT— Syslog server port. Default:514LOG_SYSLOG_PROTOCOL— Syslog connection protocol (IPv4/IPv6 and TLS supported):udp4,tcp4,tls4,udp6,tcp6,tls6. Default:udp4LOG_SYSLOG_APP_NAME— application name in Syslog messages. Default:gramax
See detailed logging setup in this guide.
Documentation portal settings
AUTO_PULL_TOKEN— user token for automatic synchronization. Example:glpat-3Ax2PoY1h75JqpXG3X-rAUTO_PULL_INTERVAL— automatic synchronization interval in seconds. Default: 3 minutes. Example:120AUTO_PULL_USERNAME— when using login/password authentication: username (AUTO_PULL_TOKENthen contains the password). Example:autopullDISABLE_SEO— disables automatic generation ofsitemap.xmlandrobots.txt. Iftrue, the portal is not indexed. Default:trueYANDEX_METRIC_COUNTER— Yandex Metrica counter ID.AI_TOKEN— authorization token for the LLM service. Use the same value asAUTH__ADMIN__TOKEN.AI_SERVER_URL— URL for accessing the LLM service. Default:{GES_URL}/aiAI_INSTANCE_NAME— unique portal identifier. Allows one LLM service to work with multiple portals. Example:my-docs-portalGES_REFRESH_INTERVAL— synchronization interval between the portal and GES settings, in seconds. Default:600
HashiCorp Vault integration
VAULT_API_VERSION— Vault API version. Example:v1VAULT_TOKEN— access token for Vault authentication. Example:s.NG8kghWwZVZHX1wGnGzY9k5uVAULT_ENDPOINT— Vault server URL. Example:https://vault.gram.axVAULT_PATH— path to the secret in Vault. Example:secret/data/gramax/ldapVAULT_MOUNT_PATH— mounted path for KV storage if it differs fromsecret. Example:secret
Data import from other systems
CONFLUENCE_CLIENT_ID— client ID for connecting to the Confluence API.CONFLUENCE_CLIENT_SECRET— client secret for Confluence authorization.CONFLUENCE_REDIRECT_URI— redirect URL for OAuth authorization with Confluence.NOTION_CLIENT_ID— client ID for connecting to the Notion API.NOTION_CLIENT_SECRET— client secret for Notion authorization.NOTION_REDIRECT_URI— redirect URL for OAuth authorization with Notion.
AI features
VECTORDB__TYPE— vector database type. Default:qdrantVECTORDB__HOST— address for connecting to the Qdrant database. Default:http://enteprise-gramax-qdrantfor Helm chart.EMBEDDING__TYPE— provider type for generating embeddings:openai(for OpenAI and compatible services) orollama(for local Ollama). Example:EMBEDDING__TYPE=openaiEMBEDDING__MODEL— model name for embedding generation. Example:text-embedding-3-large,mxbai-embed-largeEMBEDDING__HOST— provider API server address (for OpenAI-compatible providers or remote Ollama). Example:https://api.deepseek.com/v1EMBEDDING__APIKEY— API key for accessing the provider service.EMBEDDING__SOCKSPROXYURL— SOCKS5 proxy address. Format:socks5://user:password@host:port. Example:socks5://proxy_user:proxy_pass@192.168.1.1:1080EMBEDDING__QUERYTEMPLATE— query template for embeddings.EMBEDDING__DOCUMENTTEMPLATE— document template for embeddings.EMBEDDING__DIMENSIONS— vector dimension produced by the model. Example:1536FEATURE__SENDEMBEDDINGDIMENSIONS— flag for sending embedding dimensions.CHAT__TYPE— provider type for chat. Value:openai.CHAT__HOST— provider API server address. Example:https://api.deepseek.com/v1CHAT__MODEL— model name for text generation. Example:gpt-4oCHAT__APIKEY— API key for accessing the provider service.CHAT__SOCKSPROXYURL— SOCKS5 proxy address. Format:socks5://user:password@host:portAUTH__ADMIN__TOKEN— secret token for authorizing requests from Gramax to the LLM service.
Advanced settings for CORS and Logging are also available.
Metrics
BUGSNAG_API_KEY— API key for sending errors to Bugsnag. Example:123abc456def789ghi012jkl345mno678MATOMO_SITE_ID— site ID in Matomo. Example:5MATOMO_URL— Matomo instance URL. Example:https://matomo.gram.axMATOMO_CONTAINER_URL— Matomo Tag Manager container URL. Example:https://matomo.gram.ax/js/container_ABC.jsELASTIC_SEARCH_API_URL— Elasticsearch server API URL. Example:https://es.gram.ax:9200ELASTIC_SEARCH_INSTANCE_NAME— instance name or index in Elasticsearch. Example:gramax-logsELASTIC_SEARCH_USERNAME— username for Elasticsearch access. Example:elastic_userELASTIC_SEARCH_PASSWORD— user password for Elasticsearch access. Example:strongPassword123