-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (45 loc) · 1.43 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
services:
dbt:
container_name: dbt
build:
context: .
dockerfile: Dockerfile
args:
USER_ID: ${USER_ID:-1000}
GROUP_ID: ${GROUP_ID:-1000}
restart: unless-stopped
ports:
- "8080:8000"
command: >
/bin/bash -c "exec python -m http.server 8000 --directory logs & tail -f /dev/null"
environment:
CLICKHOUSE_USER: ${CLICKHOUSE_USER}
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD}
CLICKHOUSE_URL: ${CLICKHOUSE_URL}
CLICKHOUSE_PORT: ${CLICKHOUSE_PORT}
CLICKHOUSE_SECURE: ${CLICKHOUSE_SECURE}
CLICKHOUSE_DEV_USER: ${CLICKHOUSE_DEV_USER}
CLICKHOUSE_DEV_PASSWORD: ${CLICKHOUSE_DEV_PASSWORD}
CLICKHOUSE_DEV_URL: ${CLICKHOUSE_DEV_URL}
CLICKHOUSE_DEV_PORT: ${CLICKHOUSE_DEV_PORT}
CLICKHOUSE_DEV_SECURE: ${CLICKHOUSE_DEV_SECURE}
CLICKHOUSE_PROD_USER: ${CLICKHOUSE_PROD_USER}
CLICKHOUSE_PROD_PASSWORD: ${CLICKHOUSE_PROD_PASSWORD}
CLICKHOUSE_PROD_URL: ${CLICKHOUSE_PROD_URL}
CLICKHOUSE_PROD_PORT: ${CLICKHOUSE_PROD_PORT}
CLICKHOUSE_PROD_SECURE: ${CLICKHOUSE_PROD_SECURE}
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- type: bind
source: ./
target: /app
consistency: cached
working_dir: /app
user: appuser
networks:
- dbt_net
networks:
dbt_net: