Download the docker image for amd-based architectures:
docker pull registry.gitlab.com/rainbow-project1/rainbow-integration/rainbow-
storage:1.3.1-amd64
or for arm-based architectures:
docker pull registry.gitlab.com/rainbow-project1/rainbow-integration/rainbow-
storage:1.3.1-arm64
Deployment:
A single instance needs to be deployed first in order to initialize the storage cluster.Afterwards the rest of the instances can be deployed.An example deployment yaml:
rainbow-storage:
image: registry.gitlab.com/rainbow-project1/rainbow-storage:1.3.1-arm64
hostname: rainbow-storage-instance
networks:
- rainbow-net
environment:
DISCOVERY: rainbow-storage-instance
PERSISTENCE: "true"
volumes:
- ./data:/ignite
ports:
- target: 50000
published: 50000
protocol: tcp
mode: host
The DISCOVERY environment variable should be a comma separated list of hostnames, e.g “server-1,server-2”, that contains at least the hostname of the first deployed storage instance