feat: Use the new env vars in docker compose

main
phga 2 years ago
parent 216d04c4b8
commit 8189cc0ef2
Signed by: phga
GPG Key ID: 5249548AA705F019

@ -7,11 +7,19 @@ services:
dockerfile: ./deploy/Dockerfile dockerfile: ./deploy/Dockerfile
container_name: rust_solid_cassandra container_name: rust_solid_cassandra
restart: 'no' 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: depends_on:
- db - db
db: db:
image: cassandra:latest image: cassandra:latest
container_name: cassandra container_name: cassandra
restart: 'no'
hostname: cassandra hostname: cassandra
volumes: volumes:
- ../data/cassandra:/var/lib/cassandra - ../data/cassandra:/var/lib/cassandra

Loading…
Cancel
Save