This section describes the tools to deploy the SustainML Framework using Docker containers.
In this folder, there are three different files:
Dockerfile
: Dockerfile for download, build and install the SustainML framework.run.bash
: script used as an entrypoint in the SustainML Docker container to run the selected node based on an input argument.docker-compos.yaml
: compose file that uses both Docker image and entrypoint to deploy all the SustainML Framework nodes.
To run the SustainML Framework using Docker, please follow these steps:
-
Navigate to this folder.
-
Build the Docker image by running the following command:
docker build -f Dockerfile -t sustainml:v0.1.0 .
-
If you want to run your own SustainML node apart, comment the corresponding container entry in the
docker-compose.yaml
file. -
Deploy the Docker containers using Docker compose:
docker compose up