-
-
Notifications
You must be signed in to change notification settings - Fork 811
Environment Variables
Aahnik Daw edited this page Oct 24, 2022
·
6 revisions
An environment variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs.
Env Var | Value | Requirement |
---|---|---|
PASSWORD |
Password to protect access to web interface | always required, defaults to tgcf if not provided |
There are various methods to set env vars
You can easily set environment variables for tgcf
using a .env
file in the directory from which tgcf
is invoked.
PASSWORD=mypass
# put your real values here
When you are deploying to a cloud platform, and you cant create files (Heroku or digital ocean apps), you can set environment variables using the GUI provided by the platforms. Please read platform-specific guides in the wiki for more details.
Have a question? Ask in the discussion forum. But make sure to read the wiki first.