Skip to content

Instantly share code, notes, and snippets.

@spacecowb0y
Forked from ebuildy/docker-compose-sentry.yml
Last active February 3, 2016 13:14
Show Gist options
  • Save spacecowb0y/e9fc00b37cbd02f70868 to your computer and use it in GitHub Desktop.
Save spacecowb0y/e9fc00b37cbd02f70868 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
environment:
- SENTRY_URL_PREFIX:'http://sentry.example.com'
- SENTRY_ADMIN_EMAIL:'admin@example.com'
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"
@spacecowb0y
Copy link
Author

docker-compose -p sw up -d # run sentry as a daemon
docker exec -ti sw_sentry_1 sentry upgrade # basic sentry setup

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