paust-team / paust-db

GNU General Public License v3.0
6 stars 5 forks source link

Paust-db docker README.md #104

Closed kwjooo closed 5 years ago

kwjooo commented 5 years ago

Docker

With Docker and Docker Compose, you can spin up local testnets with a single command

Dockerfile

you can find paust-db Dockerfile in project root directory

Requirements

How to use this image

Build paust-db docker image

cd $GOPATH/src/github.com/paust-team/paust-db/docker
make build-image

Start one instance

docker run --rm -v /tmp:/tendermint:Z paust-db init
docker run -p "26656-26657":"26656-26657" --rm -v /tmp:/tendermint:Z paust-db 

Local Cluster

docker-compose를 이용해 4개의 local cluster 구성(bridge network로 통신)

cd $GOPATH/src/github.com/paust-team/paust-db/docker
make localnet-start

rocksdb build로 인해 build-image가 오래 걸릴 수 있음.

Deployment

아래를 참고하길 바람 https://tendermint.com/docs/networks/terraform-and-ansible.html#ansible

elon0823 commented 5 years ago

master 에 반영됨

kwjooo commented 5 years ago

@elon0823 readme close해도 되지않을까요?