diff --git a/rust_solid_cassandra/deploy/docker-compose.yml b/rust_solid_cassandra/deploy/docker-compose.yml index 94bbd39..e77b854 100644 --- a/rust_solid_cassandra/deploy/docker-compose.yml +++ b/rust_solid_cassandra/deploy/docker-compose.yml @@ -7,11 +7,19 @@ services: dockerfile: ./deploy/Dockerfile container_name: rust_solid_cassandra restart: 'no' + environment: + WEBSERVER_ADDRESS: '0.0.0.0' + WEBSERVER_PORT: '6969' + CASSANDRA_SERVER_ADDRESS: 'cassandra' + CASSANDRA_KEYSPACE_NAME: 'rust_solidjs_cassandra' + ports: + - '6969:6969' depends_on: - db db: image: cassandra:latest container_name: cassandra + restart: 'no' hostname: cassandra volumes: - ../data/cassandra:/var/lib/cassandra