-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (51 loc) · 1.25 KB
/
.env.example
File metadata and controls
62 lines (51 loc) · 1.25 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Application Settings
APP_NAME=python-fast-forge
APP_VERSION=0.1.0
APP_ENV=development
DEBUG=False
LOG_LEVEL=INFO
# Server Settings
HOST=0.0.0.0
PORT=8000
WORKERS=1
RELOAD=True
# Database Settings
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/fastapi_db
DATABASE_ECHO=False
DATABASE_POOL_SIZE=5
DATABASE_MAX_OVERFLOW=10
# CORS Settings
CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"]
CORS_ALLOW_CREDENTIALS=True
CORS_ALLOW_METHODS=["*"]
CORS_ALLOW_HEADERS=["*"]
# Rate Limiting
RATE_LIMIT_ENABLED=True
RATE_LIMIT_PER_MINUTE=60
# Security
SECRET_KEY=dev-secret-key-change-in-production-UNSAFE
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# API Settings
API_V1_PREFIX=/api/v1
DOCS_URL=/docs
REDOC_URL=/redoc
OPENAPI_URL=/openapi.json
# OpenTelemetry Settings
OTEL_ENABLED=True
OTEL_SERVICE_NAME=fastapi-boilerplate
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
OTEL_EXPORTER_OTLP_INSECURE=True
OTEL_TRACE_SAMPLE_RATE=1.0
# Redis Settings
REDIS_URL=redis://localhost:6379/0
REDIS_MAX_CONNECTIONS=10
# Cache Settings
CACHE_ENABLED=True
CACHE_TTL=300
# Temporal Workflow Settings
TEMPORAL_HOST=localhost:7233
TEMPORAL_NAMESPACE=default
TEMPORAL_TASK_QUEUE=fastapi-tasks
# External Services
EMAIL_API_KEY=dev-email-api-key-UNSAFE