Skip to main content

Management Server Environment Variables

Following environment variables can be used to configure Flexify.IO Management Server.

Variable

Description

FLEXIFY_SINGLE_USER

Set to false to enable multi-user management.

FLEXIFY_ANONYMOUS_SIGNUP

Set to false to disable sign-up for new users.

ENDPOINTS_CORS_ALLOWED_ORIGINS

Must be set to URI that will be used to open web console

EMAIL_MODE

SKIP or SEND

EMAIL_HOST
EMAIL_PROTOCOL (smtp or smtps)
EMAIL_PORT (default 25)
EMAIL_ACCOUNT
EMAIL_PASSWORD
EMAIL_SMTP_AUTH
EMAIL_SMTP_STARTTLS_ENABLE
EMAIL_SMTP_STARTTLS_REQUIRED
EMAIL_SMTP_SSL_ENABLE

SMTP server configuration for email notifications.

EMAIL_FROM_NAME
EMAIL_FROM_ADDRESS

Name and email to send notification from.

EMAIL_ADMIN_NAME
EMAIL_ADMIN_ADDRESS

Name and email to send admin notifications to.

FLEXIFY_TOKEN_SEED

Should be a secure random string.

Changing the value signs out all users, makes enrolled 2FA unusable and invalidates engine passkeys.

Upgrading an existing installation: this variable was previously called JWT_TOKEN_SECRET, old name still works.

SPRING_DATASOURCE_URL

URI of the SQL server database such as jdbc:sqlserver://example.database.windows.net;database=flexify;

SPRING_DATASOURCE_USERNAME

Database username

SPRING_DATASOURCE_PASSWORD

Database password

SPRING_FLYWAY_PLACEHOLDERS_ENGINE_PASSKEY

Should be a secure random string matching the passkey in the engines VMSS configuration.

UI_BASE_URL

URI of the web console (for email links)

USER_LOG_DESTINATION

AZURE or SQL: defines where to store user logs. SQL is not recommended for performance reasons.

USER_LOG_AZURE_CONNECTION_STRING

Connection string to Azure Storage Account where user logs will be stored.

USER_LOG_AZURE_CONTAINER

Name of the container where user logs will be stored

FLEXIFY_TOTP_ISSUER

Issuer name shown in Google Authenticator and similar apps when a user enables 2FA. Flexify.IO by default.

SSO_MICROSOFT_CLIENT_ID

SSO_MICROSOFT_TENANT_ID

SSO_MICROSOFT_USE_DEVICE_CODE_FLOW

To enable SSO with a Microsoft account, see Single Sign-on (SSO) with Entra ID

STORAGE_OAUTH_MICROSOFT_CLIENT_ID

STORAGE_OAUTH_MICROSOFT_TENANT_ID

STORAGE_OAUTH_MICROSOFT_CLIENT_SECRET

To let users authorize Azure Blob Storage accounts with Entra ID, see Authorization for Azure storage accounts.

SSO_GOOGLE_CLIENT_ID

SSO_GOOGLE_CLIENT_SECRET

To enable SSO with Google, create an OAuth client in Google Cloud Console with redirect URI <web console URL>/login-page/auth-finish/google, then use the client ID and secret it generates as the values.

DROPBOX_INDIVIDUAL_APP_KEY

DROPBOX_INDIVIDUAL_APP_SECRET

DROPBOX_TEAM_APP_KEY

DROPBOX_TEAM_APP_SECRET

To add Dropbox as a storage provider, register an app in the Dropbox App Console with redirect URI <web console URL>/data/auth-finish/dropbox, then use the app key and secret it generates as the values. Personal and Dropbox Business (team) accounts need separate apps.

FLEXIFY_TURNSTILE_SITE_KEY

FLEXIFY_TURNSTILE_SECRET_KEY

To protect the sign-up form from bots, create a Turnstile widget in your Cloudflare dashboard, then use the site key and secret key it generates as the values. Both are required, otherwise the protection stays disabled.

ENABLE_SSH

true or false defines if SSH inside the Docker container is allowed (port 22 opened)

WEBSITES_CONTAINER_START_TIME_LIMIT

Maximum start time, recommended 1200

WEBSITE_DNS_SERVER

Set to 168.63.129.16 if using private endpoints to enable Azure’s DNS resolution

WEBSITES_PORT

8080, the Management Server starts on this port inside the Docker container