Skip to Content
Environment Variables

Environment Variables

VariableDescriptionDefault
APP_NAMEName of the appbugzkit
UI_PORTPort for the UI5173
UI_URLURL for the UIhttp://localhost:5173
DOMAIN_NAMEDomain on which app is runninglocalhost
API_PORTPort for the API8080
POSTGRES_HOSTFor local development: Host where PostgreSQL is runninglocalhost
POSTGRES_PORTPostgreSQL port5432
POSTGRES_DATABASEName of the PostgreSQL databasebugzkit
POSTGRES_USERPostgreSQL userpostgres
POSTGRES_PASSWORDPostgreSQL passwordroot
REDIS_HOSTFor local development: Host where Redis is runninglocalhost
REDIS_PORTRedis port6379
REDIS_DATABASERedis database index0
REDIS_PASSWORDRedis passwordroot
GOOGLE_CLIENT_IDGoogle client id used by oauth2client_id
GOOGLE_CLIENT_SECRETGoogle client secret used by oauth2client_secret
SMTP_HOSTSMTP server hostsmtp.sendgrid.net
SMTP_PORTSMTP server port587
SMTP_USERSMTP userapikey
SMTP_PASSWORDSMTP passwordpassword
SMTP_SENDERSMTP sender[email protected]
JWT_SECRETSecret key for signing JWTssecret
ACCESS_TOKEN_DURATIONDuration of the access token in seconds900 (15 minutes)
REFRESH_TOKEN_DURATIONDuration of the refresh token in seconds604800 (7 days)
VERIFY_EMAIL_TOKEN_DURATIONDuration of the verify email token in seconds900 (15 minutes)
RESET_PASSWORD_TOKEN_DURATIONDuration of the reset password token in seconds900 (15 minutes)
USER_PASSWORDPassword for auto-generated Spring Security usersqwerty123
Last updated on