Created
July 15, 2016 18:37
-
-
Save rodorgas/c60eb6a0b64549c656119a7c71a1df8e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See docs.getsentry.com/on-premise/server/ for full | |
# instructions | |
version: '2' | |
services: | |
base: | |
build: . | |
environment: | |
# Run `docker-compose run web config generate-secret-key` | |
# to get the SENTRY_SECRET_KEY value. | |
# SENTRY_SECRET_KEY: '' | |
SENTRY_MEMCACHED_HOST: memcached | |
SENTRY_REDIS_HOST: redis | |
SENTRY_POSTGRES_HOST: postgres | |
SENTRY_EMAIL_HOST: smtp | |
volumes: | |
- ./data:/var/lib/sentry/files | |
smtp: | |
image: tianon/exim4 | |
memcached: | |
image: memcached:1.4 | |
redis: | |
image: redis:3.2-alpine | |
ports: | |
- '6381:6379' | |
postgres: | |
image: postgres:9.5 | |
web: | |
extends: base | |
links: | |
- redis | |
- postgres | |
- memcached | |
- smtp | |
ports: | |
- '9000:9000' | |
cron: | |
extends: base | |
command: run cron | |
links: | |
- redis | |
- postgres | |
- memcached | |
- smtp | |
worker: | |
extends: base | |
command: run worker | |
links: | |
- redis | |
- postgres | |
- memcached | |
- smtp | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment