OSOceanAcoustics / echodataflow

Orchestrated sonar data processing workflow
https://echodataflow.readthedocs.io/en/latest/
MIT License
4 stars 1 forks source link

Docker Deployment for Echodataflow #80

Closed Sohambutala closed 4 months ago

Sohambutala commented 4 months ago

Description: This PR introduces a Docker image for Echodataflow, as outlined in issue #67. The Dockerfile includes all necessary configurations and dependencies to run Echodataflow in a containerized environment.

Testing: The Docker image has been tested on the compute_Sv flow, with scenarios including both the use of Dask for distributed computing and operations without it.

Docker Hub URL

Closes: #67

valentina-s commented 4 months ago

@Sohambutala Works really nice to have everything start at once. It will be nice for ship deployment! We can add instructions to people how to mount local folder with config files:

docker run --network="host" --mount type=bind,source="$(pwd)/source,target=/source" -e PREFECT_API_URL=http://host.docker.internal:4200/api blackdranzer/echodataflow

(running form the docs folder of the repo)

Sohambutala commented 4 months ago

docker run --network="host" --mount type=bind,source="$(pwd)/source,target=/source" -e PREFECT_API_URL=http://host.docker.internal:4200/api blackdranzer/echodataflow

This is great! We could also add some default config files in the image itself later for ease of use.