forked from gleanerio/scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dagster.yaml
94 lines (86 loc) · 2.59 KB
/
dagster.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
85
86
87
88
89
90
91
92
93
94
scheduler:
module: dagster.core.scheduler
class: DagsterDaemonScheduler
run_queue:
max_concurrent_runs: 3
run_monitoring:
enabled: true
# values below are the defaults, and don't need to be specified except to override them
# start_timeout_seconds: 180
# cancel_timeout_seconds: 180
# Reasonable approximation for the max amount of time it would take to crawl a sitemap of the max possible size (4 hours)
max_runtime_seconds: 18000
# max_resume_run_attempts: 3 # experimental if above 0
# NOTE: Timeouts can be confusing given the fact that polling only occurs
# every one hundred twenty seconds by default for some reason; This can be
# changed in the future if we want shorter timeouts
# poll_interval_seconds: 120
run_launcher:
module: dagster_docker
class: DockerRunLauncher
config:
env_vars:
- DAGSTER_POSTGRES_USER
- DAGSTER_POSTGRES_PASSWORD
- DAGSTER_POSTGRES_DB
- GLEANERIO_MINIO_ADDRESS
- GLEANERIO_MINIO_PORT
- GLEANERIO_MINIO_USE_SSL
- GLEANERIO_MINIO_BUCKET
- GLEANERIO_MINIO_REGION
- MINIO_ACCESS_KEY
- MINIO_SECRET_KEY
- GLEANER_HEADLESS_ENDPOINT
- GLEANERIO_GRAPH_URL
- GLEANERIO_GRAPH_NAMESPACE
- GLEANERIO_DATAGRAPH_ENDPOINT
- GLEANERIO_PROVGRAPH_ENDPOINT
- GLEANERIO_GLEANER_IMAGE
- GLEANERIO_NABU_IMAGE
- DAGSTER_SLACK_TOKEN
- DAGSTER_HOME
- REMOTE_GLEANER_SITEMAP
network: dagster_network
container_kwargs:
volumes: # Make docker client accessible to any launched containers as well
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/io_manager_storage:/tmp/io_manager_storage
run_storage:
module: dagster_postgres.run_storage
class: PostgresRunStorage
config:
postgres_db:
hostname: dagster_postgres
username:
env: DAGSTER_POSTGRES_USER
password:
env: DAGSTER_POSTGRES_PASSWORD
db_name:
env: DAGSTER_POSTGRES_DB
port: 5432
schedule_storage:
module: dagster_postgres.schedule_storage
class: PostgresScheduleStorage
config:
postgres_db:
hostname: dagster_postgres
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: dagster_postgres
username:
env: DAGSTER_POSTGRES_USER
password:
env: DAGSTER_POSTGRES_PASSWORD
db_name:
env: DAGSTER_POSTGRES_DB
port: 5432