# Copy to .env for local development: cp .env-example .env

# --- Application (examples/fastapi_service) ---
APP_NAME=platform-fastapicommon-example
APP_ENV=dev
APP_PORT=8080
BUILD_VERSION=dev

# --- OpenTelemetry ---
# Set to reach the local otel-collector started by `make docker-up` (OTLP/gRPC).
# Leave unset to record spans without exporting them.
OTLP_ENDPOINT=localhost:4317
ENABLE_TRACING=true
ENABLE_METRICS=true

# --- Local logs -> Loki (Promtail tails this file when using make docker-up) ---
LOG_FILE=logs/app.log

# --- Observability stack (Docker host port mappings) ---
OTEL_COLLECTOR_GRPC_PORT=4317
OTEL_COLLECTOR_HTTP_PORT=4318
TEMPO_HTTP_PORT=3200
LOKI_HTTP_PORT=3100
PROMETHEUS_HTTP_PORT=9090
GRAFANA_HTTP_PORT=3000
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=admin

# Prometheus scrapes the example app on the host, not in the compose network.
PROMETHEUS_SCRAPE_TARGET=host.docker.internal:8080

# --- Tooling ---
PYTHON=python3
