mirror of
https://github.com/bitinflow/getsentry-onpremise.git
synced 2026-03-13 13:35:51 +00:00
mv docker-compose.yml{.example,}
This commit is contained in:
53
docker-compose.yml
Normal file
53
docker-compose.yml
Normal file
@@ -0,0 +1,53 @@
|
||||
# See docs.getsentry.com/on-premise/server for instructions
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
base:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
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
|
||||
volumes:
|
||||
- ./data:/var/lib/sentry/files
|
||||
|
||||
memcached:
|
||||
image: memcached:1.4
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:3.0-alpine
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
image: postgres:9.5
|
||||
restart: unless-stopped
|
||||
|
||||
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