Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Created November 24, 2015 08:12
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ebuildy/270f4ef3abd41e1490c1 to your computer and use it in GitHub Desktop.
Save ebuildy/270f4ef3abd41e1490c1 to your computer and use it in GitHub Desktop.
A simple docker-compose YML to run Sentry.
redis:
image: redis
postgres:
image: postgres:9.4
environment:
- POSTGRES_USER:sentry
- POSTGRES_PASSWORD:sentry
volumes:
- /var/data/sentry/postgre:/var/lib/postgresql/data:rw
sentry:
image: sentry:7.7
links:
- redis
- postgres
ports:
- 9000:9000
stdin_open: true
tty: true
sentry_celery_beat:
image: sentry:7.7
links:
- redis
- postgres
command: "sentry celery beat"
sentry_celery_worker:
image: sentry:7.7
links:
- redis
- postgres
command: "sentry celery worker"
@eevmanu
Copy link

eevmanu commented Dec 21, 2015

Hi @ebuildy, any particular reason why you add stdin_open and tty to sentry service?. Thanks 👍

@jensens
Copy link

jensens commented Jul 21, 2016

Thanks for this! I derived my setup from here, see https://gist.github.com/jensens/00f329c292fcb68861ec53abc453c5c7

@MartinThoma
Copy link

Sentry 8.21 is the latest version (https://github.com/getsentry/sentry/blob/master/setup.py#L51). This is a bit outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment