Skip to main content

Web Console Environment Variables

If running as a container, following environment variables can be used to define Web Console configuration:

Variable

Description

FLEXIFY_API

URI of the Management Server such as https://example-api.azurewebsites.net/backend

FLEXIFY_BILLING_API

URI of the Billing API. Leave blank unless you’d like to configure users billing.

FLEXIFY_PRICE_SERVICE_API

URI of the Price Service API. Leave blank unless you’d like to configure users billing.

FLEXIFY_REQUIRE_EMAIL_LOGIN

true indicates that a username must be a valid email address. Otherwise any username is accepted.

FLEXIFY_REQUIRE_LICENSE

true indicates that a user will be required to accept EULA when creating an account. Set to false is the Marketplace license agreement is used.

FLEXIFY_SAAS_MODE

true enables SaaS mode that will require more information at sign up.

FLEXIFY_POLLING_INTERVAL

An interval at witch Web Console polls Management Server for updates.

FLEXIFY_POLLING_RETRIES

The number of polling retries before the error is displayed.

WEBSITES_CONTAINER_START_TIME_LIMIT

[app service] Maximum start time, recommended 600

WEBSITES_PORT

[app service] 80, nginx inside Docker container will listen on this port

If statically hosted files, settings should be defined in conf/conf.json file:

{
"backendRootUrl": "https://example-api.azurewebsites.net/backend",
"backendBillingUrl": null,
"backendPriceServiceUrl": null,
"whitelistedDomains": ["example-api.azurewebsites.net"],
"requireEmailLogin": false,
"requireLicense": false,
"pollingInterval": 5000,
"pollingRetries": 5
}