version: '2.3' services: cassandra1: image: cassandra restart: always ports: - ${CASSANDRA_EXTERNAL_PORT}:${CASSANDRA_INTERNAL_PORT}