-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yaml
More file actions
26 lines (24 loc) · 1.01 KB
/
config.yaml
File metadata and controls
26 lines (24 loc) · 1.01 KB
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
# ==================== PostgreSQL Database Configuration ====================
postgres:
host: "${POSTGRES_HOST:localhost}"
port: "${POSTGRES_PORT:5432}"
database: "${POSTGRES_DATABASE:crawlerdb}"
user: "${POSTGRES_USER:postgres}"
password: "${POSTGRES_PASSWORD:password}"
# ==================== Security Configuration ====================
security:
jwt_secret_key: "${JWT_SECRET_KEY}"
jwt_algorithm: "${JWT_ALGORITHM:HS256}"
access_token_expire_minutes: "${ACCESS_TOKEN_EXPIRE_MINUTES:1440}"
password_reset_token_expire_hours: "${PASSWORD_RESET_TOKEN_EXPIRE_HOURS:24}"
encryption_key: "${ENCRYPTION_KEY}"
# ==================== Email Configuration ====================
email:
host: "${EMAIL_HOST:smtp.example.com}"
port: "${EMAIL_PORT:587}"
username: "${EMAIL_USERNAME}"
password: "${EMAIL_PASSWORD}"
from_email: "${EMAIL_FROM}"
from_name: "${EMAIL_FROM_NAME:Gcrawler}"
use_tls: "${EMAIL_USE_TLS:true}"
reset_password_url: "${RESET_PASSWORD_URL:https://gcrawl.gramopro.ai/auth/reset_password}"