send email
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
x-dagster-env: &dagster_env
|
||||
TZ: Europe/Amsterdam
|
||||
DAGSTER_POSTGRES_HOST: ${POSTGRES_HOST}
|
||||
DAGSTER_POSTGRES_PORT: ${POSTGRES_PORT}
|
||||
DAGSTER_POSTGRES_USER: ${POSTGRES_USER}
|
||||
DAGSTER_POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
DAGSTER_POSTGRES_DB: ${POSTGRES_DB}
|
||||
x-email-env: &email_env
|
||||
SMTP_SERVER: ${SMTP_SERVER}
|
||||
SMTP_PORT: ${SMTP_PORT}
|
||||
SMTP_USERNAME: ${SMTP_USERNAME}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||
SENDER_EMAIL: ${SENDER_EMAIL}
|
||||
RECEIVER_EMAIL: ${RECEIVER_EMAIL}
|
||||
|
||||
services:
|
||||
# This service runs the gRPC server that loads your user code, in both dagit
|
||||
@@ -21,7 +29,7 @@ services:
|
||||
image: user_code_vinyl
|
||||
restart: always
|
||||
environment:
|
||||
<<: *dagster_env
|
||||
<<: [ *dagster_env, *email_env ]
|
||||
DAGSTER_CURRENT_IMAGE: user_code_vinyl
|
||||
volumes:
|
||||
- /opt/dagster/apps/:/apps/:ro
|
||||
@@ -43,7 +51,7 @@ services:
|
||||
image: user_code_other
|
||||
restart: always
|
||||
environment:
|
||||
<<: *dagster_env
|
||||
<<: [ *dagster_env ]
|
||||
DAGSTER_CURRENT_IMAGE: user_code_other
|
||||
volumes:
|
||||
- /opt/dagster/apps/:/apps:ro
|
||||
|
||||
Reference in New Issue
Block a user