forked from getsentry/docker-sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (45 loc) · 808 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (45 loc) · 808 Bytes
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
sentry:
build: .
restart: always
links:
- redis
- postgres
ports:
- "80:9000"
# uncomment if you need automated backups to Amazon S3
#pgbackup:
# image: ffedoroff/docker-postgres-s3-backup
# restart: always
# links:
# - postgres
# environment:
# - SCHEDULE=* * * * 0 *
# - AWS_S3_PATH=
# - AWS_KEY=
# - AWS_SECERT=
# - DBNAME=sentry
postgres:
image: postgres:9.4.5
restart: always
environment:
- POSTGRES_PASSWORD=sentry
- POSTGRES_USER=sentry
volumes:
- /var/lib/postgresql/data
redis:
image: redis
restart: always
celery-beat:
build: .
restart: always
links:
- redis
- postgres
command: sentry celery beat
celery-worker:
build: .
restart: always
links:
- redis
- postgres
command: sentry celery worker