From 8f806db4091eeb92b6270f55d6eb32e41f242c09 Mon Sep 17 00:00:00 2001 From: Viki Val Date: Thu, 28 Sep 2023 12:11:21 +0200 Subject: [PATCH] :wrench: :squid: --- squid.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 squid.yaml diff --git a/squid.yaml b/squid.yaml new file mode 100644 index 0000000..26f1b9d --- /dev/null +++ b/squid.yaml @@ -0,0 +1,35 @@ +manifestVersion: subsquid.io/v0.1 +name: rubick +version: 8 +description: |- + SubSquid indexer for Kusama NFTs by KodaDot +build: +deploy: + addons: + postgres: + config: + statement_timeout: 30000 + log_min_duration_statement: 5000 + processor: + cmd: ['node', 'lib/processor'] + api: + cmd: + [ + 'npx', + 'squid-graphql-server', + '--subscriptions', + '--dumb-cache', + 'in-memory', + '--dumb-cache-ttl', + '1000', + '--dumb-cache-size', + '100', + '--dumb-cache-max-age', + '1000', + ] + +scale: + addons: + postgres: + storage: 10G + profile: small