From 7ca0f402ba0821aa21d9ac94643c823193ec792d Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 24 Feb 2025 10:51:16 +0100 Subject: [PATCH] [bitnami/janusgraph] Release janusgraph-1.1.0-debian-12-r10 (#78298) Signed-off-by: Bitnami Bot --- bitnami/janusgraph/1/debian-12/Dockerfile | 4 ++-- .../1/debian-12/rootfs/opt/bitnami/scripts/janusgraph-env.sh | 2 ++ .../1/debian-12/rootfs/opt/bitnami/scripts/libjanusgraph.sh | 4 ++++ bitnami/janusgraph/README.md | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bitnami/janusgraph/1/debian-12/Dockerfile b/bitnami/janusgraph/1/debian-12/Dockerfile index f69fa76ee461..7b87547c6496 100644 --- a/bitnami/janusgraph/1/debian-12/Dockerfile +++ b/bitnami/janusgraph/1/debian-12/Dockerfile @@ -9,11 +9,11 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \ - org.opencontainers.image.created="2025-02-20T13:51:56Z" \ + org.opencontainers.image.created="2025-02-24T08:41:01Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/janusgraph/README.md" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.1.0-debian-12-r9" \ + org.opencontainers.image.ref.name="1.1.0-debian-12-r10" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/janusgraph" \ org.opencontainers.image.title="janusgraph" \ org.opencontainers.image.vendor="Broadcom, Inc." \ diff --git a/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/janusgraph-env.sh b/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/janusgraph-env.sh index acb9c10fc329..8f13505abb5f 100644 --- a/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/janusgraph-env.sh +++ b/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/janusgraph-env.sh @@ -29,6 +29,7 @@ janusgraph_env_vars=( JANUSGRAPH_PROPERTIES JANUSGRAPH_HOST JANUSGRAPH_PORT_NUMBER + JANUSGRAPH_STORAGE_PASSWORD GREMLIN_REMOTE_HOSTS GREMLIN_REMOTE_PORT GREMLIN_AUTOCONFIGURE_POOL @@ -72,6 +73,7 @@ export JANUSGRAPH_DAEMON_GROUP="janusgraph" # JANUSGRAPH settings export JANUSGRAPH_HOST="${JANUSGRAPH_HOST:-0.0.0.0}" export JANUSGRAPH_PORT_NUMBER="${JANUSGRAPH_PORT_NUMBER:-8182}" +export JANUSGRAPH_STORAGE_PASSWORD="${JANUSGRAPH_STORAGE_PASSWORD:-}" export GREMLIN_REMOTE_HOSTS="${GREMLIN_REMOTE_HOSTS:-localhost}" export GREMLIN_REMOTE_PORT="${GREMLIN_REMOTE_PORT:-$JANUSGRAPH_PORT_NUMBER}" export GREMLIN_AUTOCONFIGURE_POOL="${GREMLIN_AUTOCONFIGURE_POOL:-false}" diff --git a/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/libjanusgraph.sh b/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/libjanusgraph.sh index ce821a412197..9d631e5287b3 100644 --- a/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/libjanusgraph.sh +++ b/bitnami/janusgraph/1/debian-12/rootfs/opt/bitnami/scripts/libjanusgraph.sh @@ -79,6 +79,10 @@ janusgraph_properties_configure_from_environment_variables() { value="${!var}" janusgraph_properties_conf_set "$key" "$value" done + + [[ -n "$JANUSGRAPH_STORAGE_PASSWORD" ]] && janusgraph_properties_conf_set "storage.password" "$JANUSGRAPH_STORAGE_PASSWORD" + + true } ######################## diff --git a/bitnami/janusgraph/README.md b/bitnami/janusgraph/README.md index dfdda4609fd4..2f6983796952 100644 --- a/bitnami/janusgraph/README.md +++ b/bitnami/janusgraph/README.md @@ -73,6 +73,7 @@ docker build -t bitnami/APP:latest . | `JANUSGRAPH_PROPERTIES` | Path to JanusGraph properties file | `${JANUSGRAPH_CONF_DIR}/janusgraph.properties` | | `JANUSGRAPH_HOST` | The name of the host to bind the JanusGraph server to. | `0.0.0.0` | | `JANUSGRAPH_PORT_NUMBER` | The port to bind the JanusGraph server to. | `8182` | +| `JANUSGRAPH_STORAGE_PASSWORD` | Password for the Janusgraph storage | `nil` | | `GREMLIN_REMOTE_HOSTS` | Comma-separated list of Gremlin remote hosts | `localhost` | | `GREMLIN_REMOTE_PORT` | Comma-separated list of Gremlin remote port | `$JANUSGRAPH_PORT_NUMBER` | | `GREMLIN_AUTOCONFIGURE_POOL` | If set to true, the gremlinPool will be determined by Runtime.availableProcessors(). | `false` |