Comment on page
Updating Environment Variables
Environment variables are a crucial part of configuring your UI Bakery On-Premise installation. They can control various settings, including your license key, database connections, and application behavior. Here's how you can modify them.
After the installation of UI Bakery On-Premise, a directory named
ui-bakery-on-premiseis created. Within this directory, you will find a file named
.env. This file contains the environment variables for your instance.
To modify any variable, such as your license key or other settings:
- 1.Open the
.envfile using a text editor. You can do this through the command line or by navigating through the file explorer to
ui-bakery-on-premiseand opening the
- 2.Find and modify or add a new variable:
- 3.UI_BAKERY_LICENSE_KEY=new_license_key_valueMake sure to save the file after making your changes.
- 4.To apply the changes, a system restart is necessary. Accomplish this by running the following commands in your terminal:docker-compose downdocker-compose up -d
Restarting your UI Bakery On-Premise instance with
docker-compose up -ddoes not erase your data. Persistent data is stored in Docker volumes, ensuring it remains safe across container restarts.