Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions scalardb-cluster-standalone-mode/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ services:
ports:
- "50000:50000"
privileged: true
blobstorage:
image: mcr.microsoft.com/azure-storage/azurite
container_name: "blobstorage-1"
ports:
- "10000:10000"
environment:
AZURITE_ACCOUNTS: "test:test"
blobstorage-container-creator:
image: mcr.microsoft.com/azure-cli
container_name: "blobstorage-container-creator"
depends_on:
- blobstorage
command: >
/bin/sh -c "az storage container create --name 'test-container' --connection-string 'DefaultEndpointsProtocol=http;AccountName=test;AccountKey=test;BlobEndpoint=http://blobstorage:10000/test;'"

scalardb-cluster-node:
image: ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.16.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
# scalar.db.username=db2inst1
# scalar.db.password=db2inst1

# For Blob Storage
# scalar.db.storage=blob-storage
# scalar.db.contact_points=http://blobstorage-1:10000/test/test-container
# scalar.db.username=test
# scalar.db.password=test

# Standalone mode
scalar.db.cluster.node.standalone_mode.enabled=true

Expand Down