config.yml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  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. vroom:
  36. description: Sentry's profiling service, processing and deriving data about your profiles
  37. remote:
  38. repo_name: vroom
  39. branch: main
  40. repo_link: https://github.com/getsentry/vroom.git
  41. mode: default
  42. bigtable:
  43. description: Bigtable emulator
  44. redis-cluster:
  45. description: Redis cluster used for testing
  46. chartcuterie:
  47. description: Chartcuterie is a service that generates charts
  48. remote:
  49. repo_name: chartcuterie
  50. branch: master
  51. repo_link: https://github.com/getsentry/chartcuterie.git
  52. taskbroker:
  53. description: Service used to process asynchronous tasks
  54. remote:
  55. repo_name: taskbroker
  56. branch: main
  57. repo_link: https://github.com/getsentry/taskbroker.git
  58. mode: containerized
  59. rabbitmq:
  60. description: Messaging and streaming broker
  61. memcached:
  62. description: Memcached used for caching
  63. modes:
  64. default: [snuba, postgres, relay]
  65. migrations: [postgres, redis]
  66. acceptance-ci: [postgres, snuba, chartcuterie]
  67. taskbroker: [snuba, postgres, relay, taskbroker]
  68. backend-ci: [snuba, postgres, redis, bigtable, redis-cluster, symbolicator]
  69. rabbitmq: [postgres, snuba, rabbitmq]
  70. symbolicator: [postgres, snuba, symbolicator]
  71. memcached: [postgres, snuba, memcached]
  72. profiling: [postgres, snuba, vroom]
  73. minimal: [postgres, snuba]
  74. full:
  75. [
  76. postgres,
  77. snuba,
  78. relay,
  79. redis,
  80. redis-cluster,
  81. symbolicator,
  82. taskbroker,
  83. rabbitmq,
  84. vroom,
  85. ]
  86. services:
  87. postgres:
  88. image: ghcr.io/getsentry/image-mirror-library-postgres:14-alpine
  89. environment:
  90. POSTGRES_HOST_AUTH_METHOD: trust
  91. POSTGRES_DB: sentry
  92. command:
  93. [
  94. postgres,
  95. -c,
  96. wal_level=logical,
  97. -c,
  98. max_replication_slots=1,
  99. -c,
  100. max_wal_senders=1,
  101. ]
  102. healthcheck:
  103. test: pg_isready -U postgres
  104. interval: 5s
  105. timeout: 5s
  106. retries: 3
  107. networks:
  108. - devservices
  109. volumes:
  110. - postgres-data:/var/lib/postgresql/data
  111. ports:
  112. - 127.0.0.1:5432:5432
  113. extra_hosts:
  114. - host.docker.internal:host-gateway
  115. labels:
  116. - orchestrator=devservices
  117. restart: unless-stopped
  118. bigtable:
  119. image: 'ghcr.io/getsentry/cbtemulator:d28ad6b63e461e8c05084b8c83f1c06627068c04'
  120. ports:
  121. - '127.0.0.1:8086:8086'
  122. networks:
  123. - devservices
  124. extra_hosts:
  125. - host.docker.internal:host-gateway
  126. redis-cluster:
  127. image: ghcr.io/getsentry/docker-redis-cluster:7.0.10
  128. ports:
  129. - '127.0.0.1:7000:7000'
  130. - '127.0.0.1:7001:7001'
  131. - '127.0.0.1:7002:7002'
  132. - '127.0.0.1:7003:7003'
  133. - '127.0.0.1:7004:7004'
  134. - '127.0.0.1:7005:7005'
  135. networks:
  136. - devservices
  137. extra_hosts:
  138. - host.docker.internal:host-gateway
  139. environment:
  140. - IP=0.0.0.0
  141. rabbitmq:
  142. image: ghcr.io/getsentry/image-mirror-library-rabbitmq:3-management
  143. ports:
  144. - '127.0.0.1:5672:5672'
  145. - '127.0.0.1:15672:15672'
  146. networks:
  147. - devservices
  148. extra_hosts:
  149. - host.docker.internal:host-gateway
  150. environment:
  151. - IP=0.0.0.0
  152. memcached:
  153. image: ghcr.io/getsentry/image-mirror-library-memcached:1.5-alpine
  154. ports:
  155. - '127.0.0.1:11211:11211'
  156. networks:
  157. - devservices
  158. extra_hosts:
  159. - host.docker.internal:host-gateway
  160. networks:
  161. devservices:
  162. name: devservices
  163. external: true
  164. volumes:
  165. postgres-data: