-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
53 lines (48 loc) · 1.13 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
version: '2'
services:
sentry-redis:
image: redis
restart: always
sentry-postgres:
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_USER=sentry
image: postgres
restart: always
my-sentry:
environment:
- SENTRY_SECRET_KEY='${SECRET_KEY}'
- SENTRY_REDIS_HOST=redis
- SENTRY_POSTGRES_HOST=postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=secret
links:
- sentry-redis:redis
- sentry-postgres:postgres
image: sentry
ports:
- "8080:9000"
sentry-cron:
environment:
- SENTRY_SECRET_KEY='${SECRET_KEY}'
- SENTRY_REDIS_HOST=redis
- SENTRY_POSTGRES_HOST=postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=secret
links:
- sentry-postgres:postgres
- sentry-redis:redis
image: sentry
command: sentry run cron
sentry-worker-1:
environment:
- SENTRY_SECRET_KEY='${SECRET_KEY}'
- SENTRY_REDIS_HOST=redis
- SENTRY_POSTGRES_HOST=postgres
- SENTRY_DB_USER=sentry
- SENTRY_DB_PASSWORD=secret
links:
- sentry-postgres:postgres
- sentry-redis:redis
image: sentry
command: sentry run worker