-
Notifications
You must be signed in to change notification settings - Fork 15
/
squid.yaml
45 lines (43 loc) · 1.17 KB
/
squid.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
manifestVersion: subsquid.io/v0.1
name: orion
version: 3
description: |-
Joystream Orion v3 backend
build:
deploy:
addons:
postgres:
secrets:
- OPERATOR_SECRET
- APP_PRIVATE_KEY
migrate:
env:
SUPPORT_NO_CATEGORY_VIDEOS: true
SUPPORT_NEW_CATEGORIES: true
KILL_SWITCH_ON: false
VIDEO_VIEW_PER_USER_TIME_LIMIT: 86400
MAX_CACHED_ENTITIES: 1000
SKIP_IMPORT: true
cmd: ['npx', 'squid-typeorm-migration', 'apply']
processor:
env:
ARCHIVE_GATEWAY_URL: https://joystream.archive.subsquid.io/graphql
PROCESSOR_PROMETHEUS_PORT: 3000
SQD_DEBUG: sqd:processor:mapping
SUPPORT_NO_CATEGORY_VIDEOS: true
SUPPORT_NEW_CATEGORIES: true
KILL_SWITCH_ON: false
VIDEO_VIEW_PER_USER_TIME_LIMIT: 86400
MAX_CACHED_ENTITIES: 1000
cmd: ['npm', 'run', 'processor-start']
api:
env:
PROCESSOR_HOST: processor
PROCESSOR_PROMETHEUS_PORT: 3000
SQD_DEBUG: api:*
SUPPORT_NO_CATEGORY_VIDEOS: true
SUPPORT_NEW_CATEGORIES: true
KILL_SWITCH_ON: false
VIDEO_VIEW_PER_USER_TIME_LIMIT: 86400
MAX_CACHED_ENTITIES: 1000
cmd: ['npm', 'run', 'graphql-server-start']