Dockerfile to run digdag-server on Amazon ECS.
The dockerfile is based on one in this repository.
You can used our prepared docker image in Dockerhub.
docker pull myui/digdag-server:latest
docker run -p 65432:65432 myui/digdag-server
eval $(aws ecr get-login --region us-east-1 --profile ${YOUR_PROFILE} --no-include-email)
docker build -t ${YOUR_REPOS}/digdag-server -f Dockerfile .
${YOUR_REPOS}/digdag-server
is ECR repository name
docker tag ${YOUR_REPOS}/digdag-server:latest xxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/${YOUR_REPOS}/digdag-server
docker push xxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/ml-api/digdag-server
You can run digdag-server instance on ECR GUI.
CLI command to appear.
cat ~/.config/digdag/config
client.http.endpoint = http://ec2-aaa-bbb-ccc-ddd.compute-1.amazonaws.com:65432
digdag sessions
digdag push hackathon-project
If you don't set the env, digdag use the default env.
name | default | description |
---|---|---|
DB_TYPE | memory | exp.) postgresql |
DB_USER | digdag | for postgresql |
DB_PASSWORD | digdag | for postgresql |
DB_HOST | 127.0.0.1 | for postgresql |
DB_PORT | 5432 | for postgresql |
DB_NAME | digdag | for postgresql |