View this example in the Dagster docs at https://docs.dagster.io/examples/deploy_docker.
- run
docker-compose up
- access
http://0.0.0.0:3000/
- execute
my_step_isolated_job
link - go to
Launchpad
tab - click on the
Launch Run
button at the bottom right of the page - the result should be successful (as expected)
- modify method
hello
inrepo.py
@op def hello(): get_dagster_logger().info(func_name()) return 2
- restart the following docker instance
docker restart docker_example_user_code
- access
http://0.0.0.0:3000/code-locations
- reload the repository
- execute
my_step_isolated_job
link - go to
Launchpad
tab - click on the
Launch Run
button at the bottom right of the page - the result should NOT be successful
- volume settings in the
docker-compose
file should be reflected in therun_launcher
settings ofdagster.yaml
file also - in this example update with the correct path the following line
/full/path/to/repo.py
- see this example about mounting volumes