Update docker-compose file
This commit is contained in:
parent
5c4c34613d
commit
8882e35c31
@ -11,14 +11,18 @@ services:
|
|||||||
SENTRY_MEMCACHED_HOST: memcached
|
SENTRY_MEMCACHED_HOST: memcached
|
||||||
SENTRY_REDIS_HOST: redis
|
SENTRY_REDIS_HOST: redis
|
||||||
SENTRY_POSTGRES_HOST: postgres
|
SENTRY_POSTGRES_HOST: postgres
|
||||||
|
SENTRY_EMAIL_HOST: smtp
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/sentry/files
|
- ./data:/var/lib/sentry/files
|
||||||
|
|
||||||
|
smtp:
|
||||||
|
image: tianon/exim4
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: memcached:1.4
|
image: memcached:1.4
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:3.0-alpine
|
image: redis:3.2-alpine
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
@ -29,21 +33,24 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
- memcached
|
- memcached
|
||||||
|
- smtp
|
||||||
ports:
|
ports:
|
||||||
- '9000:9000'
|
- '9000:9000'
|
||||||
|
|
||||||
cron:
|
cron:
|
||||||
extends: base
|
extends: base
|
||||||
command: celery beat
|
command: run cron
|
||||||
links:
|
links:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
- memcached
|
- memcached
|
||||||
|
- smtp
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
extends: base
|
extends: base
|
||||||
command: celery worker
|
command: run worker
|
||||||
links:
|
links:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
- memcached
|
- memcached
|
||||||
|
- smtp
|
||||||
|
Reference in New Issue
Block a user