- First download ElasticSearch developer sandbox and unzip the developer sandbox scripts. You can do this in a terminal with:
curl -O https://downloads.lightbend.com/cinnamon/sandbox/cinnamon-elasticsearch-docker-sandbox-2.17.0.zip
unzip cinnamon-elasticsearch-docker-sandbox-2.17.0.zip
- Switch into the
cinnamon-elasticsearch-docker-sandbox-2.17.0
directory in your terminal.
cd cinnamon-elasticsearch-docker-sandbox-2.17.0
- Start the Sandbox on Linux:
docker-compose -f docker-compose.yml up
Note: I'm finding that cluster formation on Docker isn't 100% reliable. I'm continuing to look into the problem.
start sbt
and then issue docker:publishLocal
sbt
sbt:akka-typed-distributed-state-blog> docker:publishLocal
docker-compose --compatibility -f docker-compose-dns.yml up
docker-compose --compatibility -f docker-compose-dns.yml up -d
- Connect to Yugabyte from another terminal window.
docker exec -it yb-tserver-n1 /home/yugabyte/bin/ysqlsh -h yb-tserver-n1
- Follow Creating the Schema here.
The port for API endpoint is exposed as localhost:8082, and Akka Mgmt as localhost:8558
Discussion for the API can be found on Part 1 under "Running the PoC locally"