Skip to content

Commit c113211

Browse files
committed
Revert "Delete docker-compose.yaml"
This reverts commit 5a71f1b.
1 parent cca0c77 commit c113211

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: "3.5"
2+
services:
3+
4+
postgresql:
5+
container_name: "postgresql"
6+
image: "postgres:15"
7+
ports:
8+
- 5432:5432
9+
environment:
10+
- POSTGRES_PASSWORD=postgres
11+
healthcheck:
12+
test: ["CMD-SHELL", "pg_isready || exit 1"]
13+
interval: 1s
14+
timeout: 10s
15+
retries: 60
16+
start_period: 30s
17+
18+
scalardb-cluster-standalone:
19+
container_name: "scalardb-cluser-node"
20+
image: "ghcr.io/scalar-labs/scalardb-cluster-node:4.0.0-SNAPSHOT"
21+
ports:
22+
- 60053:60053
23+
- 9080:9080
24+
volumes:
25+
- ./scalardb-cluster-node.properties:/scalardb-cluster/node/scalardb-cluster-node.properties
26+
depends_on:
27+
postgresql:
28+
condition: service_healthy

0 commit comments

Comments
 (0)