quick start: docker compose up
it's take time for ready nodes. hot start: 2 minutes
you will see ready nodes on console : yb1 | heartbeat ok
- attach shell one of them run :
ysqlsh -c "\c dbapp SELECT * FROM users;"
- docker build from
./manual.Dockerfile
- start from
/app/init_sv.sh
entrypoint_db.sh
&yb-master
&yb-tserver
start paralel- after ready all nodes
entrypoint_db.sh
importdbapp.sql
- https://docs.yugabyte.com/preview/reference/configuration/yb-master/
- https://docs.yugabyte.com/preview/deploy/multi-dc/3dc-deployment/
- https://docs.yugabyte.com/preview/deploy/manual-deployment/start-masters/
- https://docs.yugabyte.com/preview/deploy/manual-deployment/start-tservers/
- yugabyte RF minimum 3 with 4 node if we want 1 node failover. because table data split to tablets evey tablet should have leader and follower node. we should have minimum 2 copy to accessing data.
- all documentation run with
docker run --bla --blabla ...
ok it's run & i can test it. but i want to create config for portability - docker compose file and all images build from .Dockerfile is good idea for portability and development.
- i try create a configuration in this repository.
docker compose down --rmi all --volumes --remove-orphans