-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
42 lines (41 loc) · 1.37 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
name: ${COMPOSE_PROJECT_NAME:-cht-sync}
services:
couch2pg:
build: ./couch2pg/
extra_hosts:
- "host.docker.internal:host-gateway"
logging:
driver: "json-file"
options:
max-size: "512m"
environment:
- COUCHDB_USER=${COUCHDB_USER}
- COUCHDB_PASSWORD=${COUCHDB_PASSWORD}
- COUCHDB_HOST=${COUCHDB_HOST}
- COUCHDB_DBS=${COUCHDB_DBS}
- COUCHDB_PORT=${COUCHDB_PORT}
- COUCHDB_SECURE=${COUCHDB_SECURE:-true}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- POSTGRES_TABLE=${POSTGRES_TABLE}
restart: always
dbt:
build: ./dbt/
working_dir: /dbt/
environment:
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_TABLE=${POSTGRES_TABLE}
- POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- ROOT_POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- CHT_PIPELINE_BRANCH_URL=${CHT_PIPELINE_BRANCH_URL}
- DATAEMON_INTERVAL=${DATAEMON_INTERVAL}
- DBT_PACKAGE_TARBALL_URL=${DBT_PACKAGE_TARBALL_URL}
- DBT_THREAD_COUNT=${DBT_THREAD_COUNT}