Add docker-compose.yml example
This commit is contained in:
parent
5e59311649
commit
b505eca261
@ -1,6 +1,9 @@
|
|||||||
.git
|
.git
|
||||||
|
.gitignore
|
||||||
.dockerignore
|
.dockerignore
|
||||||
Makefile
|
Makefile
|
||||||
README.md
|
README.md
|
||||||
*.pyc
|
*.pyc
|
||||||
*.tar
|
*.tar
|
||||||
|
docker-compose.yml
|
||||||
|
docker-compose.yml.example
|
||||||
|
10
README.md
10
README.md
@ -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)
|
||||||
|
47
docker-compose.yml.example
Normal file
47
docker-compose.yml.example
Normal 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
|
Reference in New Issue
Block a user