Skip to content

Commit

Permalink
WIP 1
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Nov 20, 2019
1 parent 99380f3 commit 8857fa0
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions examples/simple-asset-transfer/quorum/platform/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ x-quorum-def:
&quorum-def
restart: "on-failure"
image: "${QUORUM_DOCKER_IMAGE:-quorumengineering/quorum:2.1.1}"
deploy:
resources:
limits:
cpus: '0.1'
memory: 512M
# deploy:
# resources:
# limits:
# cpus: '0.1'
# memory: 512M
expose:
- "21000"
- "50400"
Expand Down Expand Up @@ -44,7 +44,7 @@ x-quorum-def:
fi
NETWORK_ID=$$(cat $${GENESIS_FILE} | grep chainId | awk -F " " '{print $$2}' | awk -F "," '{print $$1}')
GETH_ARGS_raft="--raft --raftport 50400"
GETH_ARGS_istanbul="--emitcheckpoints --istanbul.blockperiod 1 --mine --minerthreads 1 --syncmode full"
GETH_ARGS_istanbul="--emitcheckpoints --istanbul.blockperiod 1 --mine --minerthreads 1 --syncmode fast"
if [ ! -S /qdata/tm/tm.ipc ]; then
echo "Waiting for the tx manager to start..."
i=1
Expand All @@ -71,11 +71,11 @@ x-quorum-def:
x-tx-manager-def:
&tx-manager-def
image: "${QUORUM_TX_MANAGER_DOCKER_IMAGE:-quorumengineering/tessera:0.7.3}"
deploy:
resources:
limits:
cpus: '0.1'
memory: 512M
# deploy:
# resources:
# limits:
# cpus: '0.1'
# memory: 512M
expose:
- "9000"
restart: "no"
Expand Down Expand Up @@ -140,15 +140,6 @@ x-tx-manager-def:
},
{
"url": "http://txmanager4:9000"
},
{
"url": "http://txmanager5:9000"
},
{
"url": "http://txmanager6:9000"
},
{
"url": "http://txmanager7:9000"
}
],
"keys": {
Expand Down Expand Up @@ -176,7 +167,7 @@ x-tx-manager-def:
--publickeys=/examples/keys/tm$${NODE_ID}.pub \
--privatekeys=/examples/keys/tm$${NODE_ID}.key \
--storage=$${DDIR} \
--verbosity=4
--verbosity=1
;;
*)
echo "Invalid Transaction Manager"
Expand Down

0 comments on commit 8857fa0

Please sign in to comment.