-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (40 loc) · 1.49 KB
/
.env.example
File metadata and controls
47 lines (40 loc) · 1.49 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
DEBUG=True
# Generate a secure key for production use
# You can use: openssl rand -hex 32
JWT_SECRET_KEY=local
# Database connection URL
# For SQLite: sqlite+aiosqlite:///sqlite.db
# For PostgreSQL: postgresql+asyncpg://user:password@localhost/dbname
DATABASE_URL=sqlite+aiosqlite:///sqlite.db
# Cache Configuration
# For in-memory: memory://
# For Redis: redis://localhost:6379/0
CACHE_URL=memory://
# Rate Limiting Configuration
# For in-memory: async+memory://
# For Redis: async+redis://localhost:6379/1
RATE_LIMIT_BACKEND_URL=async+memory://
# OpenTelemetry Configuration
OTEL_ENABLED=False
# OTEL_RESOURCE_SERVICE_NAME=backend
# OTEL_RESOURCE_ENVIRONMENT=development
# OTEL_EXPORTER_OTLP_ENDPOINT="https://ingest.<region>.signoz.cloud:443"
# OTEL_EXPORTER_OTLP_INSECURE=False
# OTEL_EXPORTER_OTLP_HEADERS="signoz-ingestion-key=<your-ingestion-key>"
# Celery Configuration
# Eager execution enabled for synchronous task execution during development/testing
CELERY_TASK_ALWAYS_EAGER=True
# For SQLite: sqla+sqlite:///sqlite.celery.db
# For RabbitMQ: amqp://guest:guest@localhost//
CELERY_BROKER_URL=sqla+sqlite:///sqlite.celery.db
# Results backend is disabled for eager execution
# For Redis: redis://localhost:6379/2
# CELERY_RESULT_BACKEND_URL=redis://localhost:6379/2
# Email Configuration
EMAIL_SENDER_TYPE=local
# EMAIL_SMTP_HOST=smtp.ethereal.email
# EMAIL_SMTP_PORT=587
# EMAIL_SMTP_USERNAME=youretherealusername
# EMAIL_SMTP_PASSWORD=youretherealpassword
# EMAIL_SMTP_USE_TLS=True
# EMAIL_SMTP_USE_SSL=False