Skip to content

Commit

Permalink
Merge branch 'init-cassandra' into 'main'
Browse files Browse the repository at this point in the history
Use custom init-cassandra image

See merge request ExplorViz/code/deployment!144
  • Loading branch information
Malte-Hansen committed Dec 3, 2024
2 parents 982fd5f + f0066c6 commit be9fb83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 96 deletions.
8 changes: 1 addition & 7 deletions docker/compose/compose.extra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,11 @@ services:
retries: 10

init-cassandra:
image: cassandra:3.11.14
image: explorviz/init-cassandra
profiles: ["env", "init-env"]
depends_on:
cassandra:
condition: service_healthy
volumes:
- ./configurations/cassandra/setup.cql:/setup.cql
- init-cassandra:/var/lib/cassandra
command: "cqlsh cassandra-explorviz -f /setup.cql"

## User-Service ##

Expand Down Expand Up @@ -236,8 +232,6 @@ volumes:
name: explorviz-mongo-user-config
cassandra:
name: explorviz-cassandra
init-cassandra:
name: explorviz-init-cassandra
prometheus-data:
name: explorviz-prometheus-data
grafana-data:
Expand Down
89 changes: 0 additions & 89 deletions docker/compose/configurations/cassandra/setup.cql

This file was deleted.

0 comments on commit be9fb83

Please sign in to comment.