Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Updated docker-compose files to Sawtooth 1.1
Browse files Browse the repository at this point in the history
Signed-off-by: kulkarniamol <amol.kulkarni@intel.com>
  • Loading branch information
kulkarniamol committed Mar 26, 2019
1 parent 14b87f5 commit bc67ff1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 9 deletions.
21 changes: 17 additions & 4 deletions docker-compose-installed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
entrypoint: grid-track-and-trace-tp -C tcp://validator:4004 -v

validator:
image: hyperledger/sawtooth-validator:1.0
image: hyperledger/sawtooth-validator:1.1
container_name: grid-sawtooth-validator
expose:
- 4004
Expand All @@ -43,16 +43,29 @@ services:
sawadm keygen &&
sawtooth keygen my_key &&
sawset genesis -k /root/.sawtooth/keys/my_key.priv &&
sawadm genesis config-genesis.batch
sawset proposal create \
-k /root/.sawtooth/keys/my_key.priv \
sawtooth.consensus.algorithm.name=Devmode \
sawtooth.consensus.algorithm.version=0.1 \
-o config.batch &&
sawadm genesis config-genesis.batch config.batch
fi;
sawtooth-validator -v \
--endpoint tcp://validator:8800 \
--bind component:tcp://eth0:4004 \
--bind network:tcp://eth0:8800
--bind network:tcp://eth0:8800 \
--bind consensus:tcp://eth0:5050
"
devmode-engine:
image: hyperledger/sawtooth-devmode-engine-rust:1.1
container_name: sawtooth-devmode-engine-rust-default
depends_on:
- validator
entrypoint: devmode-engine-rust -C tcp://validator:5050

settings-tp:
image: hyperledger/sawtooth-settings-tp:1.0
image: hyperledger/sawtooth-settings-tp:1.1
container_name: grid-sawtooth-settings-tp
depends_on:
- validator
Expand Down
23 changes: 18 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ services:
"
validator:
image: hyperledger/sawtooth-validator:1.0
image: hyperledger/sawtooth-validator:1.1
container_name: grid-sawtooth-validator
expose:
- 4004
Expand All @@ -56,23 +56,36 @@ services:
sawadm keygen &&
sawtooth keygen my_key &&
sawset genesis -k /root/.sawtooth/keys/my_key.priv &&
sawadm genesis config-genesis.batch
sawset proposal create \
-k /root/.sawtooth/keys/my_key.priv \
sawtooth.consensus.algorithm.name=Devmode \
sawtooth.consensus.algorithm.version=0.1 \
-o config.batch &&
sawadm genesis config-genesis.batch config.batch
fi;
sawtooth-validator -vv \
--endpoint tcp://validator:8800 \
--bind component:tcp://eth0:4004 \
--bind network:tcp://eth0:8800
--bind network:tcp://eth0:8800 \
--bind consensus:tcp://eth0:5050
"
devmode-engine:
image: hyperledger/sawtooth-devmode-engine-rust:1.1
container_name: sawtooth-devmode-engine-rust-default
depends_on:
- validator
entrypoint: devmode-engine-rust -C tcp://validator:5050

settings-tp:
image: hyperledger/sawtooth-settings-tp:1.0
image: hyperledger/sawtooth-settings-tp:1.1
container_name: grid-sawtooth-settings-tp
depends_on:
- validator
entrypoint: settings-tp -vv -C tcp://validator:4004

rest-api:
image: hyperledger/sawtooth-rest-api:1.0
image: hyperledger/sawtooth-rest-api:1.1
container_name: grid-sawtooth-rest-api
expose:
- 8008
Expand Down

0 comments on commit bc67ff1

Please sign in to comment.