94 lines
2.1 KiB
YAML
94 lines
2.1 KiB
YAML
telemetry:
|
|
enabled: false
|
|
|
|
concurrency:
|
|
default_op_concurrency_limit: 2
|
|
runs:
|
|
max_concurrent_runs: 4
|
|
|
|
run_coordinator:
|
|
module: dagster.core.run_coordinator
|
|
class: QueuedRunCoordinator
|
|
|
|
run_launcher:
|
|
module: run_launcher
|
|
class: CustomDockerRunLauncher
|
|
config:
|
|
env_vars:
|
|
- TZ
|
|
- DAGSTER_POSTGRES_HOST
|
|
- DAGSTER_POSTGRES_PORT
|
|
- DAGSTER_POSTGRES_USER
|
|
- DAGSTER_POSTGRES_PASSWORD
|
|
- DAGSTER_POSTGRES_DB
|
|
- DATA_DIR
|
|
- SMTP_SERVER
|
|
- SMTP_PORT
|
|
- SMTP_USERNAME
|
|
- SMTP_PASSWORD
|
|
- SENDER_EMAIL
|
|
- RECEIVER_EMAIL
|
|
network: dagster
|
|
container_kwargs:
|
|
auto_remove: true
|
|
volumes:
|
|
- /opt/dagster/apps/:/code/apps/:ro
|
|
- /opt/dagster/shared/:/code/shared/:ro
|
|
- /opt/dagster/logs/:/logs:rw
|
|
- ${DATA_DIR}:/storage/:rw
|
|
- ${CACHE_DIR}:/cache:rw
|
|
|
|
run_storage:
|
|
module: dagster_postgres.run_storage
|
|
class: PostgresRunStorage
|
|
config:
|
|
postgres_db:
|
|
hostname:
|
|
env: DAGSTER_POSTGRES_HOST
|
|
port:
|
|
env: DAGSTER_POSTGRES_PORT
|
|
username:
|
|
env: DAGSTER_POSTGRES_USER
|
|
password:
|
|
env: DAGSTER_POSTGRES_PASSWORD
|
|
db_name:
|
|
env: DAGSTER_POSTGRES_DB
|
|
|
|
schedule_storage:
|
|
module: dagster_postgres.schedule_storage
|
|
class: PostgresScheduleStorage
|
|
config:
|
|
postgres_db:
|
|
hostname:
|
|
env: DAGSTER_POSTGRES_HOST
|
|
port:
|
|
env: DAGSTER_POSTGRES_PORT
|
|
username:
|
|
env: DAGSTER_POSTGRES_USER
|
|
password:
|
|
env: DAGSTER_POSTGRES_PASSWORD
|
|
db_name:
|
|
env: DAGSTER_POSTGRES_DB
|
|
|
|
event_log_storage:
|
|
module: dagster_postgres.event_log
|
|
class: PostgresEventLogStorage
|
|
config:
|
|
postgres_db:
|
|
hostname:
|
|
env: DAGSTER_POSTGRES_HOST
|
|
port:
|
|
env: DAGSTER_POSTGRES_PORT
|
|
username:
|
|
env: DAGSTER_POSTGRES_USER
|
|
password:
|
|
env: DAGSTER_POSTGRES_PASSWORD
|
|
db_name:
|
|
env: DAGSTER_POSTGRES_DB
|
|
|
|
compute_logs:
|
|
module: dagster.core.storage.local_compute_log_manager
|
|
class: LocalComputeLogManager
|
|
config:
|
|
base_dir: /logs
|