Start Stargate
This method is not required for Stargate v2, but you need these instructions for Stargate v1.
If you don’t already have access to a Stargate deployment, one can be started
quickly for testing in developer mode.
Developer mode removes the need to set up a separate Cassandra instance and is
meant for development and testing only.
This docker run
command also exposes port 8090 for gRPC connections.
docker run --name stargate \
-p 8080:8080 \
-p 8081:8081 \
-p 8082:8082 \
-p 8090:8090 \
-p 127.0.0.1:9042:9042 \
-d \
-e CLUSTER_NAME=stargate \
-e CLUSTER_VERSION=4.0 \
-e DEVELOPER_MODE=true \
stargateio/stargate-4_0:v1.0.57
Ensure the local instance of Stargate is running properly by tailing the logs for the container, and looking for the message that indicates Stargate is ready for traffic.