-
Notifications
You must be signed in to change notification settings - Fork 6
/
dagster_docker.yaml
84 lines (78 loc) · 2.38 KB
/
dagster_docker.yaml
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
scheduler:
module: dagster.core.scheduler
class: DagsterDaemonScheduler
# run_coordinator:
# module: dagster.core.run_coordinator
# class: QueuedRunCoordinator
# run_launcher:
# module: dagster.core.launcher
# class: DefaultRunLauncher
# config:
# env_vars:
# - DAGSTER_POSTGRES_USER
# - DAGSTER_POSTGRES_PASSWORD
# - DAGSTER_POSTGRES_DB
# - ANOMSTACK_GCP_PROJECT_ID
# - ANOMSTACK_DUCKDB_PATH
# - ANOMSTACK_TABLE_KEY
# - ANOMSTACK_MODEL_PATH
# - ANOMSTACK_SLACK_BOT_TOKEN
# - ANOMSTACK_SLACK_CHANNEL
# - ANOMSTACK_IGNORE_EXAMPLES
# - ANOMSTACK_ALERT_EMAIL_FROM
# - ANOMSTACK_ALERT_EMAIL_TO
# - ANOMSTACK_ALERT_EMAIL_SMTP_HOST
# - ANOMSTACK_ALERT_EMAIL_SMTP_PORT
# - ANOMSTACK_ALERT_EMAIL_PASSWORD
# - ANOMSTACK_GOOGLE_APPLICATION_CREDENTIALS
# network: anomstack_network
# container_kwargs:
# volumes: # Make docker client accessible to any launched containers as well
# #- ${ANOMSTACK_GOOGLE_APPLICATION_CREDENTIALS}:/tmp/conf/gcp_credentials.json # <--doesn't work
# - C:/Users/andre/Documents/conf/andrewm4894-4d8b5a41b891.json:/tmp/conf/gcp_credentials.json # <--works
# - /var/run/docker.sock:/var/run/docker.sock
# - /tmp/io_manager_storage:/tmp/io_manager_storage
# - ./tmp:/opt/dagster/app/tmp
# - ./tmpdata:/opt/dagster/app/tmpdata
run_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_db:
hostname: anomstack_postgresql
username:
env: DAGSTER_POSTGRES_USER
password:
env: DAGSTER_POSTGRES_PASSWORD
db_name:
env: DAGSTER_POSTGRES_DB
port: 5432
run_retries:
enabled: true
max_retries: 1
schedule_storage:
module: dagster_postgres.schedule_storage
class: PostgresScheduleStorage
config:
postgres_db:
hostname: anomstack_postgresql
username:
env: DAGSTER_POSTGRES_USER
password:
env: DAGSTER_POSTGRES_PASSWORD
db_name:
env: DAGSTER_POSTGRES_DB
port: 5432
event_log_storage:
module: dagster_postgres.event_log
class: PostgresEventLogStorage
config:
postgres_db:
hostname: anomstack_postgresql
username:
env: DAGSTER_POSTGRES_USER
password:
env: DAGSTER_POSTGRES_PASSWORD
db_name:
env: DAGSTER_POSTGRES_DB
port: 5432