From 8857fa00bf6e534a670708f542a7b184126657b5 Mon Sep 17 00:00:00 2001 From: Peter Somogyvari Date: Tue, 19 Nov 2019 18:24:48 -0800 Subject: [PATCH] WIP 1 Signed-off-by: Peter Somogyvari --- .../quorum/platform/docker-compose.yml | 33 +++++++------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/examples/simple-asset-transfer/quorum/platform/docker-compose.yml b/examples/simple-asset-transfer/quorum/platform/docker-compose.yml index 83e3000d2b..2c376387a8 100644 --- a/examples/simple-asset-transfer/quorum/platform/docker-compose.yml +++ b/examples/simple-asset-transfer/quorum/platform/docker-compose.yml @@ -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" @@ -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 @@ -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" @@ -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": { @@ -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"