-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.57 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
version: "3.7"
services:
sentry:
build: ./etc/sentry
command: run web
depends_on:
- postgres
- redis
environment:
SENTRY_SECRET_KEY: secret
SENTRY_POSTGRES_HOST: postgres
SENTRY_POSTGRES_PORT: 5432
SENTRY_DB_NAME: database
SENTRY_DB_USER: user
SENTRY_DB_PASSWORD: secret
SENTRY_REDIS_HOST: redis
SENTRY_REDIS_PORT: 6379
sentry-cron:
build: ./etc/sentry
command: run cron
depends_on:
- postgres
- redis
environment:
SENTRY_SECRET_KEY: secret
SENTRY_POSTGRES_HOST: postgres
SENTRY_POSTGRES_PORT: 5432
SENTRY_DB_NAME: database
SENTRY_DB_USER: user
SENTRY_DB_PASSWORD: secret
SENTRY_REDIS_HOST: redis
SENTRY_REDIS_PORT: 6379
sentry-worker:
build: ./etc/sentry
command: run worker
depends_on:
- postgres
- redis
environment:
SENTRY_SECRET_KEY: secret
SENTRY_POSTGRES_HOST: postgres
SENTRY_POSTGRES_PORT: 5432
SENTRY_DB_NAME: database
SENTRY_DB_USER: user
SENTRY_DB_PASSWORD: secret
SENTRY_REDIS_HOST: redis
SENTRY_REDIS_PORT: 6379
redis:
image: redis:5.0
postgres:
image: postgres:11.1
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: secret
POSTGRES_DB: database