File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
scalardb-cluster-standalone-mode Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,20 @@ services:
5151 ports :
5252 - " 50000:50000"
5353 privileged : true
54+ blobstorage :
55+ image : mcr.microsoft.com/azure-storage/azurite
56+ container_name : " blobstorage-1"
57+ ports :
58+ - " 10000:10000"
59+ environment :
60+ AZURITE_ACCOUNTS : " test:test"
61+ blobstorage-container-creator :
62+ image : mcr.microsoft.com/azure-cli
63+ container_name : " blobstorage-container-creator"
64+ depends_on :
65+ - blobstorage
66+ command : >
67+ /bin/sh -c "az storage container create --name 'test-container' --connection-string 'DefaultEndpointsProtocol=http;AccountName=test;AccountKey=test;BlobEndpoint=http://blobstorage:10000/test;'"
5468
5569 scalardb-cluster-node :
5670 image : ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.16.0
Original file line number Diff line number Diff line change 4646# scalar.db.username=db2inst1
4747# scalar.db.password=db2inst1
4848
49+ # For Blob Storage
50+ # scalar.db.storage=blob-storage
51+ # scalar.db.contact_points=http://blobstorage-1:10000/test/test-container
52+ # scalar.db.username=test
53+ # scalar.db.password=test
54+
4955# Standalone mode
5056scalar.db.cluster.node.standalone_mode.enabled =true
5157
You can’t perform that action at this time.
0 commit comments