Scott Peters
06/21/2021, 2:05 AMrepo.py
seem to be fine, as dagster
doesn't complain about them when running docker-compose -f docker-compose.yml up
, but I must be missing something about how the mapping between the workspace.yaml
and where dagster
finds the docker images / repos?
Currently, the repo.py
for beekeeper_pipelines
is copied over to /opt/dagster/app
in it's container, and the workdir
is set appropiately
Also, I'm assuming that adding new containers to the running dagit
/ dagster daemon
is as simple as starting the new_service
container with the proper args and joining the proper docker network? ( without having to add the new service to this example compose file, rebuild and up? )
- keep running instance of dagster/dagit
- pull new_repo container
- start new_repo container on the dagster docker network
- add new_repo container to workspace.yaml
- refresh repos within dagit
??
daniel
06/21/2021, 2:00 PMScott Peters
06/21/2021, 8:27 PMworkspace.yaml
live on the server and simply pipe it in like you said via volume mount.Scott Peters
06/21/2021, 8:31 PMdagster
finds the repos via docker
. Is there any assumed naming on dagster's
part? For example, in the docker_example_pipelines
, is there anything magical about that naming? Do I need to append my image_name, or repo with docker
?
referring to the last image, it seems that dagit/dagster
properly sees the beekeeper
container and instantiates it correctly, but the repo doesn't show up in dagit? ... is there a way to view the workspace.yaml
in a raw format in dagit
? perhaps that way I can be sure it isn't caching anything... or some way of getting dagster
to bail / error out when a repo entry in the workspace.yaml
doesn't fully load into the system?daniel
06/21/2021, 11:27 PMworkspace.yaml
in a raw format in dagit"
- The "Workspace" page you posted in your first set of screenshots is more or less this, which makes me think dagit is not reading your updated workspace.yaml
. After you rebuild and restart the dagit container (the rebuild step is key given that it's not mounting the volume) is it still only showing one location? That would be surprisingScott Peters
06/22/2021, 1:44 AMworkspace.yaml
was not being piped in, so that solves that issue.