/ eu-air-traffic / dbt / profiles.yml
swadhinbiswas Rebuild around VPS collector + Kafka + MotherDuck-direct site · 9/11/2026
03cdeca
26 lines · 825 Bytes
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
air_traffic:
  # `DBT_TARGET=motherduck` in CI/production, `dev` locally.
  target: "{{ env_var('DBT_TARGET', 'dev') }}"
  outputs:
    # Local DuckDB — reproducible runs, CI and the Silver→warehouse build.
    dev:
      type: duckdb
      path: "{{ env_var('AIR_TRAFFIC_DUCKDB_PATH', '../warehouse/air_traffic.duckdb') }}"
      schema: main
      threads: 4
      settings:
        enable_object_cache: true
    # MotherDuck — the Gold serving layer the dashboard reads.
    motherduck:
      type: duckdb
      path: "md:{{ env_var('MOTHERDUCK_DATABASE', 'air_traffic') }}?motherduck_token={{ env_var('MOTHERDUCK_TOKEN', '') }}"
      schema: main
      threads: 4
    ci:
      type: duckdb
      path: "../warehouse/ci.duckdb"
      schema: main
      threads: 2
      settings:
        enable_object_cache: true