This is Dockerfile of Digdag server to test for email sending.
docker pull akito19/digdag-server-email-sending:latest
docker run -p 65432:65432 akito19/digdag-server-email-sending
Then, access to http://localhost:65432
When using email on Digdag server, you need to prepare some secrets such as host
, port
, username
, password
and so on.
The details are in the docs.
Therefore, this dockerfile expects these configuration have been put in ~/.config/digdag/config
like:
digdag.secret-access-policy-file = secret-access-policy.yaml
digdag.secret-encryption-key = your encryption key
secrets.mail.host = smtp.gmail.com
secrets.mail.password = PASSWORD
...
A sample workflow is in here.
If you try it by Gmail, This document will help you when setting.