version: "3.9" services: cassandra: image: cassandra restart: unless-stopped volumes: - "/var/lib/cassandra-1:/var/lib/cassandra" hostname: cassandra