Skip to content

Instantly share code, notes, and snippets.

@jtemporal
Created June 17, 2016 22:41
Show Gist options
  • Save jtemporal/fc1e1cc3c4d08ff1963b2ab7d44c2f7d to your computer and use it in GitHub Desktop.
Save jtemporal/fc1e1cc3c4d08ff1963b2ab7d44c2f7d to your computer and use it in GitHub Desktop.
atempt on docker-compose.yml for sentry
version: '2'
services:
redis:
image: redis
container_name: redis
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD
- POSTGRES_USER
container_name: postgres
upgrade:
image: sentry
environment:
- SENTRY_SECRET_KEY
links:
- redis
- postgres
command: "-it upgrade"
sentry:
image: sentry
links:
- redis
- postgres
ports:
- "8081:9000"
container_name: sentry
sentry-cron:
image: sentry
links:
- redis
- postgres
environment:
- SENTRY_SECRET_KEY
command: "sentry run cron"
sentry-worker:
image: sentry
links:
- redis
- postgres
environment:
- SENTRY_SECRET_KEY
command: "sentry run worker"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment