-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (49 loc) · 1.36 KB
/
docker-compose.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.8'
services:
meltano:
depends_on:
- warehouse
image: meltano/meltano
volumes:
- ./gh-demo:/projects
working_dir: /projects
environment:
- TARGET_POSTGRES_HOST=warehouse
- TARGET_POSTGRES_PORT=5432
- TARGET_POSTGRES_DATABASE=postgres
- TARGET_POSTGRES_USERNAME=postgres
- TARGET_POSTGRES_PASSWORD=verysecretpassword
- TARGET_POSTGRES_SCHEMA=public
- DBT_SOURCE_SCHEMA=public
- DBT_TARGET_SCHEMA=dbt
- DBT_TARGET=postgres
- DBT_MODELS=tap_github
env_file:
- .env
ports:
- 5000:5000
command: elt tap-github target-postgres --transform run --job_id=github-postgres
warehouse:
image: postgres
environment:
- POSTGRES_PASSWORD=verysecretpassword
lightdash:
image: lightdash/lightdash
depends_on:
- warehouse
volumes:
- ./gh-demo/transform:/usr/app/dbt
- ./gh-demo/transform/profile:/usr/app/profiles
ports:
- 8080:8080
environment:
- TARGET_POSTGRES_HOST=warehouse
- TARGET_POSTGRES_PORT=5432
- TARGET_POSTGRES_DATABASE=postgres
- TARGET_POSTGRES_USERNAME=postgres
- TARGET_POSTGRES_PASSWORD=verysecretpassword
- TARGET_POSTGRES_SCHEMA=public
- DBT_SOURCE_SCHEMA=public
- DBT_TARGET_SCHEMA=dbt
- DBT_TARGET=postgres
- DBT_MODELS=tap_github