Environment variables can be configured in your operating system. They hold pieces of information that live outside of your code, like database connection strings. Configuring or defining environment variables depends on your operating system: Linux, macOS, Windows server & desktop.
- ALLOW_PUBLIC_API DEFAULT unsetEXAMPLE true
- APPLICATION_SERVER DEFAULT unsetEXAMPLE http://localhost:3000
- APPLICATION_SERVER_TOKEN DEFAULT unsetEXAMPLE secret
- BCRYPT_WORKLOAD_FACTOR DEFAULT 10EXAMPLE 4
- DASHBOARD_SERVER DEFAULT http://localhost:8000EXAMPLE https://1.2.3.4
- DELETE_DELAY DEFAULT 7EXAMPLE 3
- DISABLE_REGISTRATION DEFAULT unsetEXAMPLE false
- DOMAIN DEFAULT unsetEXAMPLE example.com
- ENCRYPTION_SECRET DEFAULT unsetEXAMPLE 0123456789abcdef0123456789abcdef
- ENCRYPTION_SECRET_IV DEFAULT unsetEXAMPLE 0123456789abcdef
- HOST DEFAULT localhostEXAMPLE 0.0.0.0
- ID_LENGTH DEFAULT 8EXAMPLE 7
- MAXIMUM_PASSWORD_LENGTH DEFAULT 50EXAMPLE 1000
- MAXIMUM_RESET_CODE_LENGTH DEFAULT 50EXAMPLE 1000
- MAXIMUM_USERNAME_LENGTH DEFAULT 50EXAMPLE 1000
- MINIMUM_PASSWORD_LENGTH DEFAULT 1EXAMPLE 1
- MINIMUM_RESET_CODE_LENGTH DEFAULT 6EXAMPLE 1
- MINIMUM_USERNAME_LENGTH DEFAULT 1EXAMPLE 1
- PAGE_SIZE DEFAULT 10EXAMPLE 7
- PORT DEFAULT 8000EXAMPLE 9000
- REQUIRE_PROFILE DEFAULT unsetEXAMPLE true
- USER_PROFILE_FIELDS DEFAULT contact-email,full-nameEXAMPLE full-name, contact-email, display-name, display-email, dob, location, phone, company-name, website, occupation