config.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. modes:
  23. default: [snuba, postgres, relay]
  24. services:
  25. postgres:
  26. image: ghcr.io/getsentry/image-mirror-library-postgres:14-alpine
  27. environment:
  28. POSTGRES_HOST_AUTH_METHOD: trust
  29. POSTGRES_DB: sentry
  30. command:
  31. [
  32. postgres,
  33. -c,
  34. wal_level=logical,
  35. -c,
  36. max_replication_slots=1,
  37. -c,
  38. max_wal_senders=1,
  39. ]
  40. networks:
  41. - devservices
  42. volumes:
  43. - postgres-data:/var/lib/postgresql/data
  44. ports:
  45. - 5432:5432
  46. extra_hosts:
  47. - host.docker.internal:host-gateway
  48. networks:
  49. devservices:
  50. name: devservices
  51. volumes:
  52. postgres-data: