Documentation
-
Home
-
Getting Started
-
Common Tasks
-
Project Settings
-
License Keys
-
Environment Variables
-
Send Logs To Papertrail
-
Send Logs To Datadog
-
IP Address Blocking
-
Rate Limiting
-
Path Redirects
-
HTTP Basic Authentication
-
Dev Mode
-
SMTP
-
Outbound Email
-
Outbound Static IP
-
Webhooks
-
Static Caching
-
Dedicated Queue Runner
-
Post Deploy Tasks
-
Node Build Step
-
Mutex Driver on Servd
-
Redis
-
CORS Headers
-
-
Importing & Cloning
-
Domains & SSL
-
Assets
-
Plans and Billing
-
Team & Project Management
-
Your Account
-
Cookbook
-
Troubleshooting
-
Now & Next
Environment Variables
Servd uses real environment variables to manage your application's configuration and secrets. We do not use .env files. This is because .env files need to be present on the filesystem which can make changes difficult in a high availability environment.
There's not too much difference though, you can still add, remove and edit environment variables for your Servd project via the dashboard.
-
In the Servd dashboard, go to your production or staging environment variables page, depending on which environment you're interested in.
-
Make your changes.
-
Click Save.
-
To deploy your changes, click the 'Sync' button at the top of the page.