config.yml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # Ignored by docker compose, used by devservices
  2. x-sentry-service-config:
  3. version: 0.1
  4. service_name: sentry
  5. dependencies:
  6. snuba:
  7. description: Service that provides fast aggregation and query capabilities on top of Clickhouse
  8. remote:
  9. repo_name: snuba
  10. branch: master
  11. repo_link: https://github.com/getsentry/snuba.git
  12. mode: containerized
  13. relay:
  14. description: Service event forwarding and ingestion service
  15. remote:
  16. repo_name: relay
  17. branch: master
  18. repo_link: https://github.com/getsentry/relay.git
  19. mode: containerized
  20. postgres:
  21. description: Database used to store Sentry data
  22. redis:
  23. description: Shared instance of redis used by sentry services
  24. remote:
  25. repo_name: sentry-shared-redis
  26. branch: main
  27. repo_link: https://github.com/getsentry/sentry-shared-redis.git
  28. symbolicator:
  29. description: A symbolication service for native stacktraces and minidumps with symbol server support
  30. remote:
  31. repo_name: symbolicator
  32. branch: master
  33. repo_link: https://github.com/getsentry/symbolicator.git
  34. mode: default
  35. bigtable:
  36. description: Bigtable emulator
  37. redis-cluster:
  38. description: Redis cluster used for testing
  39. chartcuterie:
  40. description: Chartcuterie is a service that generates charts
  41. remote:
  42. repo_name: chartcuterie
  43. branch: master
  44. repo_link: https://github.com/getsentry/chartcuterie.git
  45. taskbroker:
  46. description: Service used to process asynchronous tasks
  47. remote:
  48. repo_name: taskbroker
  49. branch: main
  50. repo_link: https://github.com/getsentry/taskbroker.git
  51. mode: containerized
  52. modes:
  53. default: [snuba, postgres, relay]
  54. migrations: [postgres, redis]
  55. acceptance-ci: [postgres, snuba, chartcuterie]
  56. taskbroker: [snuba, postgres, relay, taskbroker]
  57. backend-ci: [snuba, postgres, redis, bigtable, redis-cluster, symbolicator]
  58. services:
  59. postgres:
  60. image: ghcr.io/getsentry/image-mirror-library-postgres:14-alpine
  61. environment:
  62. POSTGRES_HOST_AUTH_METHOD: trust
  63. POSTGRES_DB: sentry
  64. command:
  65. [
  66. postgres,
  67. -c,
  68. wal_level=logical,
  69. -c,
  70. max_replication_slots=1,
  71. -c,
  72. max_wal_senders=1,
  73. ]
  74. healthcheck:
  75. test: pg_isready -U postgres
  76. interval: 5s
  77. timeout: 5s
  78. retries: 3
  79. networks:
  80. - devservices
  81. volumes:
  82. - postgres-data:/var/lib/postgresql/data
  83. ports:
  84. - 127.0.0.1:5432:5432
  85. extra_hosts:
  86. - host.docker.internal:host-gateway
  87. labels:
  88. - orchestrator=devservices
  89. restart: unless-stopped
  90. bigtable:
  91. image: 'ghcr.io/getsentry/cbtemulator:d28ad6b63e461e8c05084b8c83f1c06627068c04'
  92. ports:
  93. - '127.0.0.1:8086:8086'
  94. networks:
  95. - devservices
  96. extra_hosts:
  97. - host.docker.internal:host-gateway
  98. redis-cluster:
  99. image: ghcr.io/getsentry/docker-redis-cluster:7.0.10
  100. ports:
  101. - '127.0.0.1:7000:7000'
  102. - '127.0.0.1:7001:7001'
  103. - '127.0.0.1:7002:7002'
  104. - '127.0.0.1:7003:7003'
  105. - '127.0.0.1:7004:7004'
  106. - '127.0.0.1:7005:7005'
  107. networks:
  108. - devservices
  109. extra_hosts:
  110. - host.docker.internal:host-gateway
  111. environment:
  112. - IP=0.0.0.0
  113. networks:
  114. devservices:
  115. name: devservices
  116. external: true
  117. volumes:
  118. postgres-data: