forked from beda-software/docker-sentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 1.11 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
redis:
image: redis
postgres:
image: postgres
volumes:
- /var/lib/postgresql/data
sentry:
build: .
links:
- redis
- postgres:db
ports:
- "9000:9000"
environment:
SENTRY_URL_PREFIX: "http://localhost:9000"
SENTRY_ADMIN_EMAIL: "[email protected]"
SENTRY_DB_NAME: 'postgres'
SENTRY_DB_USER: 'postgres'
SENTRY_DB_PASSWORD: ""
SENTRY_POSTGRES_HOST: "db"
SENTRY_REDIS_HOST: "redis"
celerybeat:
build: .
links:
- redis
- postgres:db
command: sentry celery beat -l info
environment:
SENTRY_URL_PREFIX: "http://127.0.0.1"
SENTRY_ADMIN_EMAIL: "[email protected]"
SENTRY_DB_NAME: 'postgres'
SENTRY_DB_USER: 'postgres'
SENTRY_DB_PASSWORD: ""
SENTRY_POSTGRES_HOST: "db"
SENTRY_REDIS_HOST: "redis"
celery:
build: .
links:
- redis
- postgres:db
command: sentry celery worker -l info
environment:
SENTRY_URL_PREFIX: "http://127.0.0.1"
SENTRY_ADMIN_EMAIL: "[email protected]"
SENTRY_DB_NAME: 'postgres'
SENTRY_DB_USER: 'postgres'
SENTRY_DB_PASSWORD: ""
SENTRY_POSTGRES_HOST: "db"
SENTRY_REDIS_HOST: "redis"