2
0

Add docker-compose.yml example

This commit is contained in:
Matt Robenolt 2016-05-27 15:52:58 -07:00
parent 5e59311649
commit b505eca261
3 changed files with 59 additions and 1 deletions

View File

@ -1,6 +1,9 @@
.git
.gitignore
.dockerignore
Makefile
README.md
*.pyc
*.tar
docker-compose.yml
docker-compose.yml.example

View File

@ -1 +1,9 @@
# onpremise
# Sentry On-Premise
Official bootstrap for running your own [Sentry](https://getsentry.com/) with [Docker](https://www.docker.com/).
## Resources
* [Documentation](https://docs.getsentry.com/on-premise/server/)
* [Bug Tracker](https://github.com/getsentry/onpremise)
* [IRC](irc://chat.freenode.net/sentry) (chat.freenode.net, #sentry)

View File

@ -0,0 +1,47 @@
# See docs.getsentry.com/on-premise/server for instructions
version: '2'
services:
base:
build: .
environment:
# Run `docker-compose run web config generate-secret-key`
# to get the SENTRY_SECRE_KEY value.
# - SENTRY_SECRET_KEY=
- SENTRY_MEMCACHED_HOST=memcached
- SENTRY_REDIS_HOST=redis
- SENTRY_POSTGRES_HOST=postgres
memcached:
image: memcached:1.4
redis:
image: redis:3.0-alpine
postgres:
image: postgres:9.5
web:
extends: base
links:
- redis
- postgres
- memcached
ports:
- '9000:9000'
cron:
extends: base
command: celery beat
links:
- redis
- postgres
- memcached
worker:
extends: base
command: celery worker
links:
- redis
- postgres
- memcached