Environment Variables
Edit your application's environment variables directly from the control panel.
Accessing the Editor
- Go to your Dashboard and select a deployment
- Navigate to the "Technical" tab
- Find the "Environment Variables" section
Viewing Variables
Variables are displayed in a list with their names. For security, values are hidden by default.
- Show value: Click the eye icon to reveal the value
- Hide value: Click again to hide it
Sensitive variables like passwords and API keys are kept hidden to prevent accidental exposure.
Editing Variables
- Click the "Edit" button in the upper right corner
- Fields will become editable
- Modify the values you need
- When finished, choose an option:
- Save only: Save changes without restarting the application
- Save and restart: Save and restart the containers
If you have unsaved changes, you'll see a yellow indicator "There are unsaved changes".
Adding a New Variable
- Enable edit mode ("Edit" button)
- Click "Add Variable"
- Enter the variable name:
- Only uppercase letters, numbers, and underscores
- Example:
MY_NEW_VARIABLE
- Enter the value
- Save the changes
Deleting a Variable
- Enable edit mode
- Click the trash icon next to the variable
- Save the changes
Deleting variables that your application needs can cause it to stop working. Make sure you know which variables are required.
Canceling Changes
If you want to discard your unsaved changes:
- Click "Cancel"
- Values will return to their original state
When to Restart
Some variables require restarting the application to take effect:
| Variable Type | Requires Restart? |
|---|---|
| Database URLs | Yes |
| External API Keys | Depends on the app |
| Ports | Yes |
| UI Configurations | Depends on the app |
If you're not sure, use "Save and restart" to ensure the changes take effect.
Common Variables
All applications
DOMAIN: Your subdomain (e.g.,my-app.deployalo.com)
Database
DB_PASSWORD: Database passwordDB_USER: Database user
Email (SMTP)
SMTP_HOST: SMTP serverSMTP_PORT: Port (465 for SSL, 587 for TLS)SMTP_USERNAME: SMTP userSMTP_PASSWORD: Password or API key
Administration
ADMIN_EMAIL: Administrator emailADMIN_PASSWORD: Initial admin password
Troubleshooting
Changes are not applied
- Make sure you saved (not just closed the panel)
- Use "Save and restart" instead of "Save only"
- Wait 30 seconds and check again
Application won't start after changing variables
- Verify you haven't deleted required variables
- Check the logs in Docker Logs to see the specific error
- If necessary, restore a previous backup
I can't see certain variables
Some system variables are not shown in the editor. If you need to modify advanced configurations, use the Terminal.