fog/docs/envvars.md
2024-12-30 10:02:01 +00:00

694 B

List of all Environment Variables

You should set these in your .profile. Even though there are defaults, the scripts still expect to have these variables in order to perform migrations, so you should set them.

FOG_ADDR

Address the backend server listens on. Default is ":8080"

FOG_DB_ADDR

Address of the Postgres database. Default is: "postgres://foguser:fogpass@localhost/fog?sslmode=disable"

FOG_DB_MAX_OPEN_CONNS

How many database connections can be open at once. Default is 30

FOG_DB_MAX_IDLE_CONNS

How many database connections can be idling at once. Default is 30

FOG_DB_MAX_IDLE_TIME

How long a database connection should idle before being closed Default is "15m"