Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yugabyte] Add yugabyte to local dev docker-compose #1137

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
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