Last active
April 19, 2025 09:09
-
-
Save anishdcruz/6238eb56a9b9c0cae765f47a3ad03af0 to your computer and use it in GitHub Desktop.
YugabyteDB local cluster with docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source https://docs.yugabyte.com/preview/tutorials/quick-start/docker/ | |
services: | |
yugabytedb: | |
image: yugabytedb/yugabyte:latest | |
container_name: yb-local-cluster | |
ports: | |
- "7001:7001" | |
- "9000:9000" | |
- "9042:9042" | |
- "5433:5433" | |
- "15433:15433" # YugabyteDB UI | |
volumes: | |
- ./yb_data:/root/var/data | |
command: | |
- "bin/yugabyted" | |
- "start" | |
- "--background=false" | |
networks: | |
- yb_local_net | |
networks: | |
yb_local_net: | |
name: yb_local_net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment