mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 21:41:55 +00:00
38 lines
970 B
Bash
38 lines
970 B
Bash
# server configuration
|
|
# Env value : prod || dev
|
|
APP_ENV=dev
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8080
|
|
APP_URL=http://localhost:8080
|
|
|
|
# database configuration
|
|
DB_HOST=postgresdb
|
|
DB_USER=postgres
|
|
DB_PASSWORD=changeme
|
|
DB_NAME=db_lti_erp
|
|
DB_PORT=5432
|
|
|
|
# JWT
|
|
# JWT secret key
|
|
JWT_SECRET=changeme
|
|
# Number of minutes after which an access token expires
|
|
JWT_ACCESS_EXP_MINUTES=30
|
|
# Number of days after which a refresh token expires
|
|
JWT_REFRESH_EXP_DAYS=30
|
|
# Number of minutes after which a reset password token expires
|
|
JWT_RESET_PASSWORD_EXP_MINUTES=10
|
|
# Number of minutes after which a verify email token expires
|
|
JWT_VERIFY_EMAIL_EXP_MINUTES=10
|
|
|
|
# SMTP configuration options for the email service
|
|
SMTP_HOST=email-server
|
|
SMTP_PORT=587
|
|
SMTP_USERNAME=email-server-username
|
|
SMTP_PASSWORD=changeme
|
|
EMAIL_FROM=support@yourapp.com
|
|
|
|
# OAuth2 configuration
|
|
GOOGLE_CLIENT_ID=yourapps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=changeme
|
|
REDIRECT_URL=http://localhost:3000/v1/auth/google-callback
|