Skip to main content

Mobile environment variables

Environment variables related to Retool Mobile.

Only configure environment variables when needed. You can configure many environment variables from your organization's Settings rather than directly editing your deployment's configuration file.

Environment variables take effect only once the change is applied to your deployment, and where you set them depends on how Retool was deployed.

  • Terraform blueprints. Set the variable in retool_helm_extra_values in main.tf, then run terraform apply. Editing Helm values directly on a blueprint-managed instance is overwritten by the next apply.
  • Helm. Set the variable in your values.yaml, then run helm upgrade. That command restarts the affected pods as part of applying the new values, so restarting pods without re-running it doesn't pick up the change.
  • Docker Compose. Set the variable in docker.env, then run sudo docker compose up -d.

MOBILE_PUSH_NOTIFIER_API_TOKEN

The API token for the mobile push notifier service.

Type string
Format Authentication Key
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Defaultnull
Examples
MOBILE_PUSH_NOTIFIER_API_TOKEN=api-key

MOBILE_PUSH_NOTIFIER_HOST

The host for the mobile push notifier service.

Type string
Format URL
ConfigurabilityUpdate the deployment's configuration file.
Required Optional
Allowed Values
ValueDescription
https://spb8yl7d3j.execute-api.us-west-2.amazonaws.com

The host for the mobile push notifier service. Only this host is supported.

Defaultnull
Examples
MOBILE_PUSH_NOTIFIER_HOST=https://spb8yl7d3j.execute-api.us-west-2.amazonaws.com