Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3484 from noprom/merge-dawn4.2
Browse files Browse the repository at this point in the history
Merge dawn4.2
  • Loading branch information
bytemaster authored May 28, 2018
2 parents a06a2fb + bfb32d2 commit 22a14c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,28 +173,28 @@ run `docker pull eosio/eos:latest`

run `docker-compose up`

### Dawn 4.0 Testnet
### Dawn 4.2 Testnet

We can easily set up a Dawn 4.0 local testnet using docker images. Just run the following commands:
We can easily set up a Dawn 4.2 local testnet using docker images. Just run the following commands:

Note: if you want to use the mongo db plugin, you have to enable it in your `data-dir/config.ini` first.

```
# pull images
docker pull eosio/eos:latest
docker pull eosio/eos:20180528
docker pull mongo:latest
# create volume
docker volume create --name=nodeos-data-volume
docker volume create --name=keosd-data-volume
docker volume create --name=mongo-data-volume
# start containers
docker-compose -f docker-compose-dawn4.0.yaml up -d
docker-compose -f docker-compose-dawn4.2.yaml up -d
# get chain info
curl http://127.0.0.1:8888/v1/chain/get_info
# get logs
docker-compose logs nodeosd
docker-compose logs -f nodeosd
# stop containers
docker-compose -f docker-compose-dawn4.0.yaml down
docker-compose -f docker-compose-dawn4.2.yaml down
```

The `blocks` data are stored under `--data-dir` by default, and the wallet files are stored under `--wallet-dir` by default, of course you can change these as you want.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- mongo-data-volume:/data/db

nodeosd:
image: eosio/eos:latest
image: eosio/eos:20180528
command: /opt/eosio/bin/nodeosd.sh --data-dir /opt/eosio/bin/data-dir --delete-all-blocks #--mongodb-uri mongodb://mongo:27017/EOS
hostname: nodeosd
links:
Expand All @@ -24,7 +24,7 @@ services:
- nodeos-data-volume:/opt/eosio/bin/data-dir

keosd:
image: eosio/eos:latest
image: eosio/eos:20180528
command: /opt/eosio/bin/keosd --wallet-dir /opt/eosio/bin/data-dir --http-server-address=127.0.0.1:8900
hostname: keosd
links:
Expand Down

0 comments on commit 22a14c0

Please sign in to comment.