-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (27 loc) · 1.01 KB
/
.env.example
File metadata and controls
32 lines (27 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
27
28
29
30
31
32
# Application Configuration
APP_ENV=development
APP_PORT=8000
APP_VERSION=1.0.0
# Database Configuration (Required)
DB_HOSTNAME=postgres
DB_PORT=5432
DB_PASSWORD=your_secure_password_here
DB_NAME=fastapi
DB_USERNAME=postgres
# Authentication Configuration (Required)
SECRET_KEY=your_secret_key_here # Generate with: openssl rand -hex 32
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=60
# CORS Configuration (Optional)
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080
# OpenTelemetry Configuration (Optional)
OTEL_SERVICE_NAME=fastapi-postgres-app
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
OTEL_RESOURCE_ATTRIBUTES=deployment.environment=development,service.version=1.0.0
# base14 Scout Configuration (Required)
# Get these values from your base14 Scout account
# See: https://docs.base14.io/category/opentelemetry-collector-setup
SCOUT_ENDPOINT=https://your-tenant.base14.io:4318
SCOUT_CLIENT_ID=your_client_id
SCOUT_CLIENT_SECRET=your_client_secret
SCOUT_TOKEN_URL=https://your-tenant.base14.io/oauth/token