-
Notifications
You must be signed in to change notification settings - Fork 1
/
squid-pold-subsoc.yaml
59 lines (59 loc) · 1.87 KB
/
squid-pold-subsoc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
manifestVersion: subsquid.io/v0.1
name: x-seller-dot-sub
version: 114
description: 'X Seller Squid based on Polkadot/Subsocial chains'
build:
deploy:
secrets:
- SELLER_POLKADOT_ACC_SELLER_TREASURY_PUB_KEY
- SELLER_POLKADOT_ACC_SELLER_SERVICE_PAYER_MNEM
- SELLER_POLKADOT_ALLOWED_REMARK_SIGNERS
- SELLER_SUBSOCIAL_ACC_MNEM_DOMAIN_REGISTRAR
- SELLER_SUBSOCIAL_ACC_MNEM_ENERGY_GENERATOR
- SELLER_SUBSOCIAL_ALLOWED_API_CLIENTS
- SELLER_SUBSOCIAL_API_TOKEN_MANAGER_MNEM
- SELLER_SUBSOCIAL_LOGGER_TG_BOT_TOKEN
- SELLER_SUBSOCIAL_LOGGER_TG_BOT_CHAT_ID
- SELLER_SUBSOCIAL_MONGODB_URL
addons:
postgres:
processor:
env:
CHAIN: polkadotSubsocial
SELLER_PROCESSING_DISABLED: false
SELLER_EXTENDED_API: true
SELLER_POLKADOT_REMARK_PROT_NAME: st_ss_v_1
SELLER_POLKADOT_REMARK_PROT_VERSION: 0.1
SELLER_POLKADOT_REMARK_DESTINATION: 1
SELLER_TOKEN_PRICE_COEFF_ROC_SOON: 0.001
SELLER_TOKEN_PRICE_COEFF_DOT_SUB: 0.001
SELLER_SUBSOCIAL_API_TOKEN_EXP_TIME: 10000
SELLER_SUBSOCIAL_DMN_REG_PENDING_ORDER_EXP_TIME: 7
SELLER_POLKADOT_AUTO_REFUND_DISABLED: true
cmd:
- node
- lib/processor
api:
env:
CHAIN: polkadotSubsocial
SELLER_PROCESSING_DISABLED: false
SELLER_EXTENDED_API: true
SELLER_POLKADOT_REMARK_PROT_NAME: st_ss_v_1
SELLER_POLKADOT_REMARK_PROT_VERSION: 0.1
SELLER_TOKEN_PRICE_COEFF_ROC_SOON: 0.001
SELLER_TOKEN_PRICE_COEFF_DOT_SUB: 0.001
SELLER_SUBSOCIAL_API_TOKEN_EXP_TIME: 10000
SELLER_SUBSOCIAL_DMN_REG_PENDING_ORDER_EXP_TIME: 7
SELLER_POLKADOT_AUTO_REFUND_DISABLED: true
cmd:
- npx
- squid-graphql-server
- '--subscriptions'
- '--dumb-cache'
- in-memory
- '--dumb-cache-ttl'
- '1000'
- '--dumb-cache-size'
- '100'
- '--dumb-cache-max-age'
- '1000'