Skip to content

Commit

Permalink
Add ScyllaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
stroomdev66 committed Jun 14, 2024
1 parent e6f814a commit 0388ade
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
7 changes: 4 additions & 3 deletions bin/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ setup_echo_colours() {

# These are the names of the only containers that will get deleted
STROOM_CONTAINER_NAMES=( \
"elasticsearch" \
"kafka" \
"nginx" \
"scylladb" \
"stroom" \
"stroom-proxy" \
"stroom-all-dbs" \
"stroom-log-sender" \
"zookeeper" \
"kafka" \
"elasticsearch")
"zookeeper")

main() {
setup_echo_colours
Expand Down
1 change: 1 addition & 0 deletions bin/local.default.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ SERVICE_LIST=( \
#"kafka" \
#"kibana" \
"nginx" \
"scylladb" \
#"solr" \
#"stroom-5" \
#"stroom" \
Expand Down
1 change: 1 addition & 0 deletions bin/stack/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ validate_requested_services() {
"kafka" \
"kibana" \
"nginx" \
"scylladb" \
"stroom" \
"stroom-all-dbs" \
"stroom-log-sender" \
Expand Down
2 changes: 1 addition & 1 deletion bin/stack/build_stroom_core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ main() {
local SERVICES=()

# Define all the services that make up the stack
# Array created like this to allow lines to commneted out
# Array created like this to allow lines to commented out
SERVICES+=("nginx")
SERVICES+=("stroom")
SERVICES+=("stroom-all-dbs")
Expand Down
3 changes: 2 additions & 1 deletion dev-resources/compose/containers/ports.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#A list of ports externally exposed by docker containers
# A list of ports externally exposed by docker containers
80 - nginx (http)
443 - nginx (https)
2181 - zookeeper
Expand All @@ -22,6 +22,7 @@
8543 - stroom-proxy-local (app https)
8983 - solr (http)
9000 - HDFS
9042 - ScyllaDB
9090 - stroom-proxy-remote (app http)
9091 - stroom-proxy-remote (admin)
9092 - kakfa
Expand Down
11 changes: 11 additions & 0 deletions dev-resources/compose/containers/scylladb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Runs a ScyllaDB instance
version: '2.4'

services:
scylladb:
image: "${SCYLLA_DB_DOCKER_REPO:-scylladb/scylla}:${SCYLLA_DB_TAG:-5.4.7}"
hostname: scylladb
ports:
- 9042:9042
labels:
- "stack_name=${STACK_NAME:-<STACK_NAME>}"

0 comments on commit 0388ade

Please sign in to comment.