squid.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. manifestVersion: subsquid.io/v0.1
  2. name: orion
  3. version: 2
  4. description: |-
  5. Joystream Orion v2 backend
  6. build:
  7. deploy:
  8. addons:
  9. postgres:
  10. secrets:
  11. - OPERATOR_SECRET
  12. - APP_PRIVATE_KEY
  13. migrate:
  14. env:
  15. SUPPORT_NO_CATEGORY_VIDEOS: true
  16. SUPPORT_NEW_CATEGORIES: true
  17. KILL_SWITCH_ON: false
  18. VIDEO_VIEW_PER_IP_TIME_LIMIT: 86400
  19. MAX_CACHED_ENTITIES: 1000
  20. SKIP_IMPORT: true
  21. cmd: ['npx', 'squid-typeorm-migration', 'apply']
  22. processor:
  23. env:
  24. ARCHIVE_GATEWAY_URL: https://joystream.archive.subsquid.io/graphql
  25. PROCESSOR_PROMETHEUS_PORT: 3000
  26. SQD_DEBUG: sqd:processor:mapping
  27. SUPPORT_NO_CATEGORY_VIDEOS: true
  28. SUPPORT_NEW_CATEGORIES: true
  29. KILL_SWITCH_ON: false
  30. VIDEO_VIEW_PER_IP_TIME_LIMIT: 86400
  31. MAX_CACHED_ENTITIES: 1000
  32. cmd: ['npm', 'run', 'processor-start']
  33. api:
  34. env:
  35. PROCESSOR_HOST: processor
  36. PROCESSOR_PROMETHEUS_PORT: 3000
  37. SQD_DEBUG: api:*
  38. SUPPORT_NO_CATEGORY_VIDEOS: true
  39. SUPPORT_NEW_CATEGORIES: true
  40. KILL_SWITCH_ON: false
  41. VIDEO_VIEW_PER_IP_TIME_LIMIT: 86400
  42. MAX_CACHED_ENTITIES: 1000
  43. cmd: ['npm', 'run', 'query-node-start']