server:
  listen_addr: ":8080"
  default_format: json
  read_timeout: 5s
  write_timeout: 10s
  idle_timeout: 120s

databases:
  - name: weatherdb
    driver: postgres
    uri: postgres://postgres.example.internal:5432/weatherdb?sslmode=require
    username: weatherapi
    password: ${WEATHERAPI_DB_PASSWORD}
    max_open_conns: 10
    max_idle_conns: 5
    conn_max_lifetime: 30m
    conn_max_idle_time: 5m

templates:
  base_dir: templates
