-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (55 loc) · 1.25 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3'
services:
memcached:
image: memcached:1.4
redis:
image: redis:3.2-alpine
postgres:
image: postgres:9.5
volumes:
- postgres-data:/var/lib/postgresql/data
web:
build: ./docker/sentry
depends_on:
- memcached
- redis
- postgres
environment:
SENTRY_SECRET_KEY: "${SENTRY_SECRET_KEY}"
SENTRY_MEMCACHED_HOST: memcached
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
ports:
- 9090:9000
volumes:
- sentry-data:/var/lib/sentry/files
cron:
build: ./docker/sentry
depends_on:
- web
command: run cron
environment:
SENTRY_SECRET_KEY: "${SENTRY_SECRET_KEY}"
SENTRY_MEMCACHED_HOST: memcached
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
volumes:
- sentry-data:/var/lib/sentry/files
worker:
build: ./docker/sentry
depends_on:
- web
command: run worker
environment:
C_FORCE_ROOT: 1
SENTRY_SECRET_KEY: "${SENTRY_SECRET_KEY}"
SENTRY_MEMCACHED_HOST: memcached
SENTRY_REDIS_HOST: redis
SENTRY_POSTGRES_HOST: postgres
volumes:
- sentry-data:/var/lib/sentry/files
volumes:
postgres-data:
driver: local
sentry-data:
driver: local