2
0
This repository has been archived on 2020-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
sentry-onpremise/docker-compose.yml

60 lines
1.0 KiB
YAML
Raw Normal View History

2016-06-28 21:03:38 +02:00
# See docs.getsentry.com/on-premise/server/ for full
# instructions
2016-05-28 00:52:58 +02:00
version: '2'
services:
base:
build: .
environment:
# Run `docker-compose run web config generate-secret-key`
2016-05-28 02:00:35 +02:00
# to get the SENTRY_SECRET_KEY value.
2016-05-28 01:46:50 +02:00
# SENTRY_SECRET_KEY: ''
SENTRY_MEMCACHED_HOST: memcached
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
2016-06-24 21:18:58 +02:00
SENTRY_EMAIL_HOST: smtp
2016-05-28 01:44:34 +02:00
volumes:
- ./data:/var/lib/sentry/files
2016-05-28 00:52:58 +02:00
2016-06-24 21:18:58 +02:00
smtp:
image: tianon/exim4
2016-05-28 00:52:58 +02:00
memcached:
image: memcached:1.4
redis:
2016-06-24 21:18:58 +02:00
image: redis:3.2-alpine
2016-05-28 00:52:58 +02:00
postgres:
image: postgres:9.5
2016-08-03 18:21:59 +02:00
volumes:
- ./data/postgres:/var/lib/postgresql/data
2016-05-28 00:52:58 +02:00
web:
extends: base
links:
- redis
- postgres
- memcached
2016-06-24 21:18:58 +02:00
- smtp
2016-05-28 00:52:58 +02:00
ports:
- '9000:9000'
cron:
extends: base
2016-06-24 21:18:58 +02:00
command: run cron
2016-05-28 00:52:58 +02:00
links:
- redis
- postgres
- memcached
2016-06-24 21:18:58 +02:00
- smtp
2016-05-28 00:52:58 +02:00
worker:
extends: base
2016-06-24 21:18:58 +02:00
command: run worker
2016-05-28 00:52:58 +02:00
links:
- redis
- postgres
- memcached
2016-06-24 21:18:58 +02:00
- smtp