# {{PROJECT_NAME}} Configuration
#
# This file is the default configuration. Environment-specific overrides
# live in manifest/config/config.{env}.yaml (e.g., config.prod.yaml).

app:
  name: "{{PROJECT_NAME}}"
  host: "127.0.0.1"
  port: 8080
  env: "development"

server:
  read_timeout: 30
  write_timeout: 30
  max_connections: 100

logging:
  level: "debug"
  format: "json"
  output: "stdout"

database:
  url: "${DATABASE_URL}"
  max_connections: 10
  min_connections: 1
  connect_timeout: 10
  idle_timeout: 300

redis:
  url: "${REDIS_URL}"
  pool_size: 5
  connect_timeout: 5

auth:
  jwt_secret: "${JWT_SECRET}"
  jwt_expiry_hours: 24
  refresh_expiry_days: 7

openapi:
  enabled: true
  path: "/api-docs/openapi.json"
  swagger_ui_path: "/swagger-ui"
  redoc_path: "/redoc"

health:
  enabled: true
  liveness_path: "/health/live"
  readiness_path: "/health/ready"