Bando Documentation

Environment variables

Configure the variables your project uses in development and production.

What are environment variables?

Environment variables are values provided to the process when Bando is executed.

They are especially useful for configuration that changes between environments, such as development and production, and for information that should not be written directly into the code.

ParâmetroTipoObrigatórioPor omissãoDescrição
DATABASE_URLstringnãoURL used to connect to PostgreSQL.
PORTnumbernão3333HTTP port used by the runtime.
JWT_SECRETstringnãoSecret used for authentication. Required in production.
JWT_EXPIRES_INnumbernão28800Token duration in seconds.
BANDO_ADMIN_EMAIL / PASSWORDstringnãoCredentials used for the initial administrator. Both must be defined and the password must contain at least 8 characters.
BANDO_ADMIN_NAMEstringnãoBando AdministratorInitial administrator name.
STUDIO_URLstringnãohttp://localhost:5173Origin allowed by CORS.
Environment variables | Bando