# Layer-root .env for local development.
# Per-environment overrides live in <env>/.env (rendered from env-template/).
# Layer: {{ parent_stack }}.{{ layer_name }}

NODE_ENV=local
LOG_LEVEL=debug
PORT=3000
HOST=0.0.0.0

# --- Platform Module ---
OTEL_SERVICE_NAME={{ layer_name }}
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf

# --- Auth Module ---
# AUTH_ADAPTER: 'noop' | 'gateway' | 'keycloak'
AUTH_ADAPTER=noop

# --- Database Module ---
# DATABASE_ADAPTER: 'lakebase' | 'postgres' | 'sqlite'
DATABASE_ADAPTER=sqlite
DATABASE_URL=file:./local.db

# --- HTTP Client Module ---
# No config needed for local dev (uses defaults)
