-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (28 loc) · 848 Bytes
/
Copy path.env.example
File metadata and controls
28 lines (28 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
APP_NAME=Enterprise Authentication Service
APP_VERSION=3.0.0
ENVIRONMENT=development
DEBUG=true
DATABASE_URL=postgresql+psycopg://auth_user:auth_password@db:5432/auth_db
SECRET_KEY=replace-this-with-a-random-secret-at-least-32-characters
ENCRYPTION_SECRET=replace-this-with-another-random-secret-at-least-32-characters
ACCESS_TOKEN_MINUTES=15
REFRESH_TOKEN_DAYS=14
MFA_TICKET_MINUTES=5
EMAIL_VERIFICATION_MINUTES=60
PASSWORD_RESET_MINUTES=30
MAX_FAILED_LOGINS=5
LOCKOUT_MINUTES=15
REDIS_URL=redis://redis:6379/0
RATE_LIMIT_REQUESTS=120
LOGIN_RATE_LIMIT_REQUESTS=20
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
TRUSTED_HOSTS=localhost,127.0.0.1,api
FRONTEND_URL=http://localhost:3000
SMTP_HOST=
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=no-reply@example.com
SMTP_USE_TLS=true
EXPOSE_DEBUG_TOKENS=true
DOCS_ENABLED=true