Skip to content

Instantly share code, notes, and snippets.

@ebuildy
Created November 24, 2015 08:12
Show Gist options
  • Save ebuildy/270f4ef3abd41e1490c1 to your computer and use it in GitHub Desktop.
Save ebuildy/270f4ef3abd41e1490c1 to your computer and use it in GitHub Desktop.

Revisions

  1. ebuildy created this gist Nov 24, 2015.
    34 changes: 34 additions & 0 deletions docker-compose-sentry.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    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"