Skip to content

Instantly share code, notes, and snippets.

@adamgoose
Created February 24, 2016 23:59
Show Gist options
  • Save adamgoose/549f5009c2df1833ee8d to your computer and use it in GitHub Desktop.
Save adamgoose/549f5009c2df1833ee8d to your computer and use it in GitHub Desktop.
Sentry Docker Config
SentryPostgres:
environment:
POSTGRES_PASSWORD: 'some_db_pw'
POSTGRES_USER: sentry
PGDATA: /var/lib/postgresql/data/pgdata
labels:
io.rancher.container.pull_image: always
tty: true
image: postgres
volumes:
- /root/Rancher/Sentry/postgres:/var/lib/postgresql/data/pgdata
stdin_open: true
CeleryBeat:
environment:
SENTRY_SECRET_KEY: some_secret
labels:
io.rancher.container.pull_image: always
tty: true
command:
- sentry
- celery
- beat
image: sentry:8.1
links:
- SentryRedis:redis
- SentryPostgres:postgres
stdin_open: true
CeleryWorker:
environment:
SENTRY_SECRET_KEY: some_secret
labels:
io.rancher.container.pull_image: always
tty: true
command:
- sentry
- celery
- worker
image: sentry:8.1
links:
- SentryRedis:redis
- SentryPostgres:postgres
stdin_open: true
SentryRedis:
labels:
io.rancher.container.pull_image: always
tty: true
image: redis
volumes:
- /root/Rancher/Sentry/redis:/data
stdin_open: true
Sentry:
environment:
SENTRY_EMAIL_HOST: smtp.mandrillapp.com # except not mandrill, cuz they suck
SENTRY_EMAIL_PORT: '587'
SENTRY_EMAIL_USER: [email protected]
SENTRY_EMAIL_PASSWORD: some_api_key
SENTRY_SERVER_EMAIL: [email protected]
SENTRY_SECRET_KEY: some_secret
labels:
io.rancher.container.pull_image: always
tty: true
image: sentry:8.1
links:
- SentryRedis:redis
- SentryPostgres:postgres
volumes:
- /root/Rancher/Sentry/data:/var/lib/sentry/files
stdin_open: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment