mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 05:21:57 +00:00
35 lines
704 B
Bash
35 lines
704 B
Bash
# server configuration
|
|
# Env value : prod || dev
|
|
VERSION=0.0.1
|
|
APP_ENV=dev
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8081
|
|
APP_URL=http://localhost:8081
|
|
|
|
# database configuration
|
|
DB_HOST=postgresdb
|
|
DB_USER=postgres
|
|
DB_PASSWORD=changeme
|
|
DB_NAME=db_lti_erp
|
|
DB_PORT=5432
|
|
DB_PORT_HOST=5542
|
|
|
|
# JWT
|
|
JWT_SECRET=changeme
|
|
JWT_ACCESS_EXP_MINUTES=30
|
|
JWT_REFRESH_EXP_DAYS=30
|
|
JWT_RESET_PASSWORD_EXP_MINUTES=10
|
|
JWT_VERIFY_EMAIL_EXP_MINUTES=10
|
|
|
|
# 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
|
|
|
|
# Redis
|
|
REDIS_URL=redis://redis:6379/0
|
|
REDIS_PORT_HOST=6381
|