From d307a34092c8c4c98a3ee28a1b7526258523db2b Mon Sep 17 00:00:00 2001 From: Serge Nedashkovsky Date: Thu, 7 Dec 2023 13:02:48 +0800 Subject: [PATCH] - change cyber image to increase maximum size of a stored wasm file - add wasm volume to fix errors - set `query_gas_limit` to 10,000,000 to run heavy queries --- docker-compose.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5c96d40..c3bb659 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,14 @@ -version: "3" +version: "4" services: cyber: - image: cyberd/cyber:bostrom-localnet-1 + image: cyberd/cyber:bostrom-localnet-wasm container_name: localbostrom #pull_policy: always volumes: - ./bostrom_config:/root/.cyber/config - ./data:/root/.cyber/data + - ./wasm:/root/.cyber/wasm networks: cyberindex-net: ipv4_address: 172.28.1.2 @@ -16,6 +17,7 @@ services: - "1317:1317" - "9090:9090" - "9091:9091" + command: cyber start --compute-gpu=false --wasm.query_gas_limit=10000000 postgres: image: postgres:latest restart: always