From 15576c60f11b9fbf7c46e394a58ef7cc7f970fb7 Mon Sep 17 00:00:00 2001 From: Viki Val Date: Tue, 18 Apr 2023 14:55:29 +0200 Subject: [PATCH] :wrench: snekk configs --- snek.yaml | 17 +++++++++++++++++ squid.yaml | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 snek.yaml create mode 100644 squid.yaml diff --git a/snek.yaml b/snek.yaml new file mode 100644 index 0000000..6d3105a --- /dev/null +++ b/snek.yaml @@ -0,0 +1,17 @@ +manifestVersion: subsquid.io/v0.1 +name: sneck +version: 1 +description: |- + SubSquid indexer for Basilisk NFTs on Rococo 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" ] diff --git a/squid.yaml b/squid.yaml new file mode 100644 index 0000000..39b3bad --- /dev/null +++ b/squid.yaml @@ -0,0 +1,20 @@ +manifestVersion: subsquid.io/v0.1 +name: snekk +version: 6 +description: |- + SubSquid indexer for Basilisk 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: + dedicated: true \ No newline at end of file