mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
fix: adjust docker and any file for starting project
This commit is contained in:
+10
-15
@@ -1,5 +1,6 @@
|
||||
# server configuration
|
||||
# Env value : prod || dev
|
||||
VERSION=0.0.1
|
||||
APP_ENV=dev
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=8080
|
||||
@@ -13,25 +14,19 @@ 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
|
||||
# CORS
|
||||
CORS_ALLOW_ORIGINS=changeme
|
||||
CORS_ALLOW_METHODS=GET,POST,PUT,PATCH,DELETE,OPTIONS
|
||||
CORS_ALLOW_HEADERS=Authorization,Content-Type,X-Requested-With
|
||||
CORS_EXPOSE_HEADERS=Link,Location
|
||||
CORS_ALLOW_CREDENTIALS=true
|
||||
CORS_MAX_AGE=600
|
||||
|
||||
# OAuth2 configuration
|
||||
GOOGLE_CLIENT_ID=yourapps.googleusercontent.com
|
||||
GOOGLE_CLIENT_SECRET=changeme
|
||||
REDIRECT_URL=http://localhost:3000/v1/auth/google-callback
|
||||
# Redis
|
||||
REDIS_URL=redis://redis:6379/0
|
||||
|
||||
Reference in New Issue
Block a user