config.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. rabbitmq:
  53. description: Messaging and streaming broker
  54. modes:
  55. default: [snuba, postgres, relay]
  56. migrations: [postgres, redis]
  57. acceptance-ci: [postgres, snuba, chartcuterie]
  58. taskbroker: [snuba, postgres, relay, taskbroker]
  59. backend-ci: [snuba, postgres, redis, bigtable, redis-cluster, symbolicator]
  60. rabbitmq: [postgres, snuba, rabbitmq]
  61. services:
  62. postgres:
  63. image: ghcr.io/getsentry/image-mirror-library-postgres:14-alpine
  64. environment:
  65. POSTGRES_HOST_AUTH_METHOD: trust
  66. POSTGRES_DB: sentry
  67. command:
  68. [
  69. postgres,
  70. -c,
  71. wal_level=logical,
  72. -c,
  73. max_replication_slots=1,
  74. -c,
  75. max_wal_senders=1,
  76. ]
  77. healthcheck:
  78. test: pg_isready -U postgres
  79. interval: 5s
  80. timeout: 5s
  81. retries: 3
  82. networks:
  83. - devservices
  84. volumes:
  85. - postgres-data:/var/lib/postgresql/data
  86. ports:
  87. - 127.0.0.1:5432:5432
  88. extra_hosts:
  89. - host.docker.internal:host-gateway
  90. labels:
  91. - orchestrator=devservices
  92. restart: unless-stopped
  93. bigtable:
  94. image: 'ghcr.io/getsentry/cbtemulator:d28ad6b63e461e8c05084b8c83f1c06627068c04'
  95. ports:
  96. - '127.0.0.1:8086:8086'
  97. networks:
  98. - devservices
  99. extra_hosts:
  100. - host.docker.internal:host-gateway
  101. redis-cluster:
  102. image: ghcr.io/getsentry/docker-redis-cluster:7.0.10
  103. ports:
  104. - '127.0.0.1:7000:7000'
  105. - '127.0.0.1:7001:7001'
  106. - '127.0.0.1:7002:7002'
  107. - '127.0.0.1:7003:7003'
  108. - '127.0.0.1:7004:7004'
  109. - '127.0.0.1:7005:7005'
  110. networks:
  111. - devservices
  112. extra_hosts:
  113. - host.docker.internal:host-gateway
  114. environment:
  115. - IP=0.0.0.0
  116. rabbitmq:
  117. image: ghcr.io/getsentry/image-mirror-library-rabbitmq:3-management
  118. ports:
  119. - '127.0.0.1:5672:5672'
  120. - '127.0.0.1:15672:15672'
  121. networks:
  122. - devservices
  123. extra_hosts:
  124. - host.docker.internal:host-gateway
  125. environment:
  126. - IP=0.0.0.0
  127. networks:
  128. devservices:
  129. name: devservices
  130. external: true
  131. volumes:
  132. postgres-data: