Skip to content

Commit

Permalink
[bitnami/scylladb] Export SCYLLADB_CONF environment variable
Browse files Browse the repository at this point in the history
If not set, Scylladb tries to read from `conf` directory which is not
available in the container and startup fails with error:
`open failed: No such file or directory [conf/cassandra-rackdc.properties]`

Signed-off-by: Siavash <[email protected]>
  • Loading branch information
siavasht committed Nov 20, 2024
1 parent e9661bb commit 104cb64
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ export SSL_VERSION="${SSL_VERSION:-TLSv1_2}"

# Configuration paths
export SCYLLADB_CONF_DIR="${DB_BASE_DIR}/etc"
export SCYLLADB_CONF="$SCYLLADB_CONF_DIR"
export DB_CONF_DIR="$SCYLLADB_CONF_DIR"
export SCYLLADB_DEFAULT_CONF_DIR="${DB_BASE_DIR}/etc.default"
export DB_DEFAULT_CONF_DIR="$SCYLLADB_DEFAULT_CONF_DIR"
Expand Down

0 comments on commit 104cb64

Please sign in to comment.