-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (46 loc) · 1.4 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:
# image: ghcr.io/dbt-labs/dbt-snowflake:latest
# environment:
# SOMEVAR: SOMEVALUE
dagster-dagit:
build:
context: dagster/.
args:
ARG_SNOWFLAKE_HOST: ${SNOWFLAKE_HOST} #taken (when building image) from host ENV and passed as build-argument to image
ARG_SNOWFLAKE_USER: ${SNOWFLAKE_USER}
ARG_SNOWFLAKE_PASS: ${SNOWFLAKE_PASS}
ports:
- 3000:3000
container_name: ddagit
# dagster-daemon:
# build:
# context: dagster/.
# args:
# ARG_SNOWFLAKE_HOST: ${SNOWFLAKE_HOST} #taken (when building image) from host ENV and passed as build-argument to image
# ARG_SNOWFLAKE_USER: ${SNOWFLAKE_USER}
# ARG_SNOWFLAKE_PASS: ${SNOWFLAKE_PASS}
# command: "dagster-daemon run"
# container_name: ddaemon
dash:
build:
context: dash/.
args:
ARG_SNOWFLAKE_HOST: ${SNOWFLAKE_HOST} #taken (when building image) from host ENV and passed as build-argument to image
ARG_SNOWFLAKE_USER: ${SNOWFLAKE_USER}
ARG_SNOWFLAKE_PASS: ${SNOWFLAKE_PASS}
command: "python app.py"
ports:
- 80:8080
container_name: dash
# dagster-postgres:
# image: postgres:13.3
# ports:
# - 5432:5432
# environment:
# - POSTGRES_PASSWORD=secret
# volumes:
# - dagster-postgres:/var/lib/postgresql/data
# volumes:
# dagster-postgres:
# driver: local