docker-compose.yml
version: "3.8"
services:
cassandra:
image: cassandra:latest
ports:
- 7000:7000
- 7001:7001
- 9042:9042
- 9160:9160
volumes:
- ./commitlog:/var/lib/cassandra/commitlog
- ./hints:/var/lib/cassandra/hints
- ./data:/var/lib/cassandra/data
- ./saved_caches:/var/lib/cassandra/saved_caches
- ./logs:/var/log/cassandra