Skip to main content

Configure Environment Variables

Appsmith offers environment variables to customize your setup for different services and integrations. These configurations are applicable only to self-hosted Appsmith instances. The page provides step-by-step instructions for configuring environment variables in Appsmith across different deployment methods.

Follow these steps to configure Appsmith using environment variables for Docker-based installations, including setups on DigitalOcean, AWS AMI, and similar platforms:

  1. Navigate to your installation folder.

  2. Open the stacks/configuration/docker.env file.

  3. Add or update the required environment variables. For example, to set the Google Maps API key:

    APPSMITH_GOOGLE_MAPS_API_KEY=YOUR_API_KEY
  4. Restart the Docker containers for the changes to take effect:

    docker-compose restart appsmith

See also