This is the docker images used in production for Dagster.
Make sure you have docker installed.
You'll need to copy the .env.sample
file to .env
and make sure you set the correct values
Then run the following commands:
- docker compose build - This will build the images based on the instructions in the docker files
- docker compose up - This will run the docker files generated in step 1 and connect them as per the
instructions in the
docker-compose.yaml
file.
The current design is spin up several images as follows:
graph TB;
subgraph one[Core AWS Account]
A[Dagit ECR]
B[Dagster Daemon]
end
subgraph two[LA1 AWS Account]
A-->C[Dagit Live]
B-->D[Daemon Live]
G[Code Server Image]-->H[Code Server Live]
end
subgraph three[LA2 AWS Account]
A-->E[Dagit Live]
B-->F[Daemon Live]
I[Code Server Image]-->J[Code Server Live]
end
This is the web interface for Dagster that allows for viewing and interacting with Dagster objects. This is built and pushed to docker hub for use with the wider platform. More info here
Determines what needs to be run and when using schedulers, sensors, etc. This is built and pushed to docker hub for use with the wider platform. More info here
This contains the pipeline code for Dagster to run. This includes sensors, ops, assets, jobs, schedule definitions, etc. The one used in this repo is for demo purposes only and isn't part of any wider build or running of the platform.