diff --git a/scalardb-cluster-standalone-mode/docker-compose.yaml b/scalardb-cluster-standalone-mode/docker-compose.yaml index 424e693..a7adde7 100644 --- a/scalardb-cluster-standalone-mode/docker-compose.yaml +++ b/scalardb-cluster-standalone-mode/docker-compose.yaml @@ -51,9 +51,24 @@ 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" + restart: "no" + 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-1:10000/test;'" scalardb-cluster-node: - image: ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.16.0 + image: ghcr.io/scalar-labs/scalardb-cluster-node-byol-premium:3.17.0 container_name: "scalardb-cluster-node" ports: - "60053:60053" diff --git a/scalardb-cluster-standalone-mode/scalardb-cluster-node.properties b/scalardb-cluster-standalone-mode/scalardb-cluster-node.properties index 90cb399..1f0f8c5 100644 --- a/scalardb-cluster-standalone-mode/scalardb-cluster-node.properties +++ b/scalardb-cluster-standalone-mode/scalardb-cluster-node.properties @@ -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