dockerizing_4dscience/README.md

33 lines
1.3 KiB
Markdown

# Docker Cassandra Social
## subprojects:
* [cassandra](./cassandra/README.md)
* [socialservice](./socialservice/README.md)
### cassandra
[cassandra](./cassandra/README.md) is the dockerization of the cassandra infrastructure
it contains the script for dumping the devel environment, and the [Dockerfile](./cassandra/Dockerfile) and [Docker compose](./cassandra/compose.yaml) files to build and start the composed instance with the dumped schema and data
### socialservice
[socialservice](./socialservice/README.md) is the dockerization of the socialservice infrastructure
it contains the script for dumping the devel environment, and the [Dockerfile](./socialservice/Dockerfile) and [Docker compose](./socialservice/compose.yaml) 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`