Skip to content
Merged
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
5 changes: 4 additions & 1 deletion src/commands/start/yugabyte/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,16 @@ fn spawn_yugabyte_instance(

// Add YugabyteDB startup command with full configuration
// CRITICAL: --base_dir must match the volume mount location
// NOTE: --advertise_address is intentionally omitted. Setting it to 0.0.0.0 caused
// seed DDL via yugabyted to succeed but left the YCQL/YSQL proxies unreachable from
// other containers. Without --advertise_address, yugabyted auto-detects the container's
// IP on the Docker bridge network, which is reachable by other containers on the same network.
docker_args.extend_from_slice(&[
"/yugabyte/bin/yugabyted",
"start",
"--base_dir=/home/foc-user/yb_base",
"--ui=true",
"--callhome=false",
"--advertise_address=0.0.0.0",
"--master_flags=rpc_bind_addresses=0.0.0.0",
"--tserver_flags=rpc_bind_addresses=0.0.0.0,pgsql_proxy_bind_address=0.0.0.0:5433,cql_proxy_bind_address=0.0.0.0:9042",
"--daemon=false",
Expand Down