config.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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: git@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: git@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: git@github.com:getsentry/sentry-shared-redis.git
  28. modes:
  29. default: [snuba, postgres, relay]
  30. migrations: [postgres, redis]
  31. services:
  32. postgres:
  33. image: ghcr.io/getsentry/image-mirror-library-postgres:14-alpine
  34. environment:
  35. POSTGRES_HOST_AUTH_METHOD: trust
  36. POSTGRES_DB: sentry
  37. command:
  38. [
  39. postgres,
  40. -c,
  41. wal_level=logical,
  42. -c,
  43. max_replication_slots=1,
  44. -c,
  45. max_wal_senders=1,
  46. ]
  47. networks:
  48. - devservices
  49. volumes:
  50. - postgres-data:/var/lib/postgresql/data
  51. ports:
  52. - 127.0.0.1:5432:5432
  53. extra_hosts:
  54. - host.docker.internal:host-gateway
  55. restart: unless-stopped
  56. networks:
  57. devservices:
  58. name: devservices
  59. external: true
  60. volumes:
  61. postgres-data: