|
|
|
@ -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
|
|
|
|
|