dockerizing_4dscience/README.md

1.3 KiB

Docker Cassandra Social

subprojects:

cassandra

cassandra is the dockerization of the cassandra infrastructure it contains the script for dumping the devel environment, and the Dockerfile and Docker compose files to build and start the composed instance with the dumped schema and data

socialservice

socialservice is the dockerization of the socialservice infrastructure it contains the script for dumping the devel environment, and the Dockerfile and Docker compose files to build and start the composed instance with the dumped schema and data

DOCKER instructions

you can start the 2 services individually entering in the folder and starting the docker compose instance, or start the common compose in the base folder.

start common composer: docker compose up --build

force recreate docker image docker compose build --no-cache

check status: docker exec -it cassandra-1 nodetool status docker exec -it cassandra-2 nodetool status docker exec -it cassandra-3 nodetool status docker exec -it social nodetool status