Skip to main content

Customizing Fluent Manager application

This documentation describes all the environment variables with which you can customize your Fluent Manager instance. In order to perform customizations, you should first create an environment configuration file, and then make the necessary changes to the environment variables before running the deploy command. If you deploy your application using Kubernetes, you can customize environment variables when running the install command or in the config.yaml file.


List of env variables:

Security properties

Env nameDescriptionDefault ValueValue Example
FLUENT_MANAGER_JWT_PRIVATE_KEY JWT private key that will be used for token encryptionwplkd54WJOSNjIksJ/aPje345SNGS/1ldsafDsF43S4OPw=
FLUENT_MANAGER_ACCESS_TOKEN_TIME_TO_LIVE Time in seconds for how long an access token will be valid86400129600
FLUENT_MANAGER_REFRESH_TOKEN_TIME_TO_LIVE Time in seconds for how long a refresh token will be valid12096001728000
FLUENT_MANAGER_RESET_PASSWORD_TOKEN_TIME_TO_LIVE Time in seconds for how long a password reset token will be valid. This token is used when creating a user, resetting a password by administrators, and when recovering a password using forgot password864001728000
FLUENT_MANAGER_MAXIMUM_FAILED_LOGIN_ATTEMPTS The number of possible failed login attempts before the user account is locked out for 30 minutes. Administrators can manually unlock a user to reduce the wait time for another login attempt510
FLUENT_MANAGER_COOKIES_TIME_TO_LIVE The time in seconds that the cookie will remain active if the remember me option is selected for the Designer session. Also controls session lifetime for SSO25920003002000

CORS properties

Env nameDescriptionDefault ValueValue Example
FLUENT_MANAGER_CORS_ALLOWED_PATHS Comma separated allowed paths for CORS validation/**
  • /api/**, /public/images/*
  • /user, /public/**
FLUENT_MANAGER_CORS_ALLOWED_ORIGINS Comma separated allowed origins for CORS validation*
FLUENT_MANAGER_CORS_ALLOWED_METHODS Comma separated allowed methods for CORS validation*
  • GET
  • GET, POST, PUT

Fluent Database properties

Env nameDescriptionValue Example
FLUENT_MANAGER_DATABASE_URL URL connection for a PostgreSQL database. The final connection string will be in the format jdbc:postgresql://${FLUENT_MANAGER_DATABASE_URL}/${FLUENT_MANAGER_DATABASE_NAME}
  • localhost:5432
  • 30.30.10.30:1433
FLUENT_MANAGER_DATABASE_NAME Database name that will be used by Fluent Managertestdb
FLUENT_MANAGER_DATABASE_USERNAME Username to connect to the databasepostgres
FLUENT_MANAGER_DATABASE_PASSWORD Password to connect to the databasePa$$W0rd_str

Email sending properties

These properties can be used to set up a connection to an SMTP mail server. With proper SMTP configuration, Manager will be able to send emails to new users with login credentials, as well as to existing users to reset a password.

Env nameDescriptionDefault valueValue Example
FLUENT_MANAGER_MAILING_ENABLE Defines if SMTP mail sending will be enabledfalsetrue
FLUENT_MANAGER_SMTP_HOST Host address of SMTP providersmtp.gmail.comsmtp.example.com
FLUENT_MANAGER_SMTP_PORT SMTP provider port587584
FLUENT_MANAGER_SMTP_USERNAME Username for SMTP provider accountadmin@email.comuser@example.com
FLUENT_MANAGER_SMTP_PASSWORD Password for SMTP provider account\$\$uper\$\$ecretPa$$W0rd_str
FLUENT_MANAGER_SMTP_AUTH Defines whether authentication is required by the SMTP servertruetrue
FLUENT_MANAGER_SMTP_TLS_ENABLE Enables or disables starttls extension for secure SMTP servertruetrue
FLUENT_MANAGER_SMTP_FROM Email address that will be used as default "From address" for email messagesadmin@email.comsample@example.com

Sentry properties

Env nameDescriptionValue Example
FLUENT_MANAGER_SENTRY_DSN Sentry monitoring system SDK with client key configuration (DNS)https://public@sentry.example.com/1
FLUENT_MANAGER_SENTRY_ENVIRONMENT Property that indicates the current environment, if this is requiredproduction

Fluent admin properties

Env nameDescriptionDefault valueValue Example
FLUENT_MANAGER_RESET_SYSTEM_ADMINISTRATOR_CREDENTIALS If set to "true", reset the Global Administrator password back to the FLUENT_MANAGER_DEFAULT_ADMIN_PASSWORD property each time the application is restarted. If this user is deleted, it will be restoredfalsefalse
FLUENT_MANAGER_DEFAULT_ADMIN_EMAIL Global Administrator emailadmin@email.com
FLUENT_MANAGER_DEFAULT_ADMIN_PASSWORD Global Administrator passwordPa$$W0rd_str

License option

Env nameDescriptionDefault valueValue Example
FLUENT_MANAGER_LICENSE_SUBSCRIPTION_ENABLE When enabled, license subscription information will be checked and monitored. Otherwise, license subscription will be omittedtruetrue

Db container properties

Env nameDescriptionValue Example
POSTGRES_USER Database userpostgres
POSTGRES_PASSWORD Database passwordPa$$W0rd_str
POSTGRES_DB Database namefluent

Vault properties

Vault functionality is under development. We do not recommend enabling the FLUENT_MANAGER_VAULT_ENABLE variable.

Env nameDescriptionDefault ValueValue Example
FLUENT_MANAGER_VAULT_ENABLE By default, connection strings are stored encrypted in the database. An alternative is to store connection strings in Vault. If this variable is true, then Vault will be used as storage for connection stringsfalsetrue
FLUENT_MANAGER_VAULT_SECRET_ENGINE_PATH The mount path for Secret Enginefluent-managersecret/myapp
FLUENT_MANAGER_VAULT_TOKEN Vault authentication tokenstatic-token-values.DZB9zI1zXOEFnvBkGLFnwDXY
FLUENT_MANAGER_VAULT_URI URI for Vault. Must contain hostname, port and schemehttp://host.docker.internal:8200http://localhost:8200

Other properties

Env nameDescriptionValue Example
FLUENT_MANAGER_KEYSET_HANDLE By default, Manager stores connection strings in the database in encrypted form. This variable stores the encryption key for connection strings. The encryption key is unique for each Fluent Manager instance and is generated once when creating the .env file. Do not change this value without reason. If the encryption key is lost, the connection strings values stored in the database cannot be decryptedZZBTpmZdpj3YokOCgPqvpYB5IXreMYJPzPtaslBsrPqveVATdUqr1TKT1SJQckEYdkEYXjtCthEoBlEIsPqvpCLsVZfQ9EE0UJn==
FLUENT_MANAGER_SDK_TYPE Type of the RESTful Engine that you want to connectfluent
SPRING_PROFILES_ACTIVE Comma separated list of profiles that will be used for a Spring boot launchprod, fluent
PUBLIC_URL Sub-path on which the application will be launched. Defaults to '/'manager
FLUENT_MANAGER_MAX_UPLOADED_FILE_SIZE_MB Set a limit on the number of megabytes for the stream accepted by the client. This limit can be used to limit the size of files that Manager can pull, for example when analyzing imports tags. A value of -1 removes any limit16