Advertisement
Guest User

sentry ibm5155 dockercompose

a guest
May 25th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. #see https://forum.sentry.io/t/enhancement-configs-not-found-on-latest-branches/6800
  2. # NOTE: This docker-compose.yml is meant to be just an example of how
  3. # you could accomplish this on your own. It is not intended to work in
  4. # all use-cases and must be adapted to fit your needs. This is merely
  5. # a guideline.
  6.  
  7. # See docs.getsentry.com/on-premise/server/ for full
  8. # instructions
  9.  
  10. version: '3.4'
  11.  
  12. x-defaults: &defaults
  13. restart: unless-stopped
  14. build: .
  15. depends_on:
  16. - redis
  17. - postgres
  18. - memcached
  19. - smtp
  20. env_file: .env
  21. environment:
  22. SENTRY_MEMCACHED_HOST: memcached
  23. SENTRY_REDIS_HOST: redis
  24. SENTRY_POSTGRES_HOST: postgres
  25. SENTRY_EMAIL_HOST: smtp
  26. volumes:
  27. - sentry-data:/var/lib/sentry/files
  28.  
  29.  
  30. services:
  31. smtp:
  32. restart: unless-stopped
  33. image: tianon/exim4
  34.  
  35. memcached:
  36. restart: unless-stopped
  37. image: memcached:1.5-alpine
  38.  
  39. redis:
  40. restart: unless-stopped
  41. image: redis:3.2-alpine
  42.  
  43. postgres:
  44. restart: unless-stopped
  45. image: postgres:9.5
  46. volumes:
  47. - sentry-postgres:/var/lib/postgresql/data
  48.  
  49. web:
  50. <<: *defaults
  51. ports:
  52. - '9090:9090'
  53.  
  54. cron:
  55. <<: *defaults
  56. command: run cron
  57.  
  58. worker:
  59. <<: *defaults
  60. command: run worker
  61.  
  62.  
  63. volumes:
  64. sentry-data:
  65. external: true
  66. sentry-postgres:
  67. external: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement