Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1001 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 1001 Bytes

SustainML Framework deployment with Docker

This section describes the tools to deploy the SustainML Framework using Docker containers.

In this folder, there are three different files:

  1. Dockerfile: Dockerfile for download, build and install the SustainML framework.
  2. run.bash: script used as an entrypoint in the SustainML Docker container to run the selected node based on an input argument.
  3. 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:

  1. Navigate to this folder.

  2. Build the Docker image by running the following command:

    docker build -f Dockerfile -t sustainml:v0.1.0 .
  3. If you want to run your own SustainML node apart, comment the corresponding container entry in the docker-compose.yaml file.

  4. Deploy the Docker containers using Docker compose:

    docker compose up