initial dagster setup
This commit is contained in:
parent
af2213f0ab
commit
7791d034ae
8 changed files with 232 additions and 0 deletions
70
dagster.yaml
Normal file
70
dagster.yaml
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
scheduler:
|
||||
module: dagster.core.scheduler
|
||||
class: DagsterDaemonScheduler
|
||||
|
||||
|
||||
run_coordinator:
|
||||
module: dagster.core.run_coordinator
|
||||
class: QueuedRunCoordinator
|
||||
config:
|
||||
max_concurrent_runs: 5
|
||||
tag_concurrency_limits:
|
||||
- key: "operation"
|
||||
value: "example"
|
||||
limit: 5
|
||||
|
||||
run_launcher:
|
||||
module: dagster_docker
|
||||
class: DockerRunLauncher
|
||||
config:
|
||||
env_vars:
|
||||
- DAGSTER_POSTGRES_USER
|
||||
- DAGSTER_POSTGRES_PASSWORD
|
||||
- DAGSTER_POSTGRES_DB
|
||||
network: dagster
|
||||
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_postgresql
|
||||
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_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: dagster_postgresql
|
||||
username:
|
||||
env: DAGSTER_POSTGRES_USER
|
||||
password:
|
||||
env: DAGSTER_POSTGRES_PASSWORD
|
||||
db_name:
|
||||
env: DAGSTER_POSTGRES_DB
|
||||
port: 5432
|
||||
Loading…
Add table
Add a link
Reference in a new issue