Skip to content

Commit

Permalink
[yugabyte] Add yugabyte to local dev docker-compose (#1137)
Browse files Browse the repository at this point in the history
  • Loading branch information
barroco authored Dec 2, 2024
1 parent 11c42cd commit 2420df1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ restart-all: build-dss down-locally start-locally

.PHONY: start-locally
start-locally:
@test ${COMPOSE_PROFILES} || echo "\033[0;96mTo start Yugabyte datastore, set the docker compose profile to with-yugabyte. Example using env variable: export COMPOSE_PROFILES=with-yugabyte\033[0m"
build/dev/run_locally.sh up -d

.PHONY: probe-locally
Expand Down
14 changes: 14 additions & 0 deletions build/dev/docker-compose_dss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ services:
start_period: 30s
start_interval: 5s

local-dss-ybdb:
image: yugabytedb/yugabyte:2024.1.2.0-b77
command: bin/yugabyted start --background=false
ports:
- "7000:7000"
- "9000:9000"
- "15433:15433"
- "5433:5433"
- "9042:9042"
restart: always
networks:
- dss_sandbox_default_network
profiles: ["with-yugabyte"]

local-dss-rid-bootstrapper:
build:
context: ../..
Expand Down

0 comments on commit 2420df1

Please sign in to comment.