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.example

57 lines
1.0 KiB
Plaintext
Raw Normal View History

2016-05-28 00:52:58 +02:00
# See docs.getsentry.com/on-premise/server for instructions
version: '2'
services:
base:
build: .
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
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
2016-05-28 01:44:34 +02:00
volumes:
- ./data:/var/lib/sentry/files
2016-05-28 00:52:58 +02:00
memcached:
image: memcached:1.4
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
redis:
image: redis:3.0-alpine
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
postgres:
image: postgres:9.5
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
web:
extends: base
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
links:
- redis
- postgres
- memcached
ports:
- '9000:9000'
cron:
extends: base
command: celery beat
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
links:
- redis
- postgres
- memcached
worker:
extends: base
command: celery worker
2016-05-28 01:44:34 +02:00
restart: unless-stopped
2016-05-28 00:52:58 +02:00
links:
- redis
- postgres
- memcached