-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (56 loc) · 1.54 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
63
version: '3'
services:
sentry:
image: sentry:9
restart: unless-stopped
ports:
- 9000:9000
environment:
- SENTRY_SECRET_KEY="%**stxva=es(qsts1z1eu!1uks3r9q8z@w8dh8hm&akv3p9a*s"
- SENTRY_REDIS_HOST=sentry_redis
- SENTRY_POSTGRES_HOST=sentry_postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=sentry
cron:
image: sentry:9
restart: unless-stopped
environment:
- SENTRY_SECRET_KEY="%**stxva=es(qsts1z1eu!1uks3r9q8z@w8dh8hm&akv3p9a*s"
- SENTRY_REDIS_HOST=sentry_redis
- SENTRY_POSTGRES_HOST=sentry_postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=sentry
command: run cron
worker:
image: sentry:9
restart: unless-stopped
environment:
- SENTRY_SECRET_KEY="%**stxva=es(qsts1z1eu!1uks3r9q8z@w8dh8hm&akv3p9a*s"
- SENTRY_REDIS_HOST=sentry_redis
- SENTRY_POSTGRES_HOST=sentry_postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=sentry
command: run worker
sentry_redis:
image: redis:4.0-alpine
restart: unless-stopped
wait_sentry_redis:
image: "waisbrot/wait"
environment:
TARGETS: sentry_redis:6379
sentry_postgres:
image: postgres:10.4-alpine
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=sentry
- POSTGRES_USER=sentry
- POSTGRES_DB=sentry
volumes:
- /var/lib/sentry-postgresql/:/var/lib/postgresql/data
wait_sentry_postgres:
image: "waisbrot/wait"
environment:
TARGETS: sentry_postgres:5432
networks:
default:
driver: bridge