-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
72 lines (67 loc) · 2 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
64
65
66
67
68
69
70
71
72
version: "3.7"
services:
data-warehouse:
image: postgres:12-alpine
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: password
volumes:
- ./volumes/data-warehouse/:/var/lib/postgresql/data/
redash:
image: redash/redash:8.0.2.b37747
command: server
ports:
- 5000:5000
environment:
REDASH_WEB_WORKERS: 4
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: INFO
REDASH_REDIS_URL: redis://redis:6379/0
POSTGRES_PASSWORD: password
REDASH_COOKIE_SECRET: secret
REDASH_SECRET_KEY: secret
REDASH_DATABASE_URL: postgresql://postgres:password@data-warehouse/redash
redash_scheduler:
image: redash/redash:8.0.2.b37747
command: scheduler
environment:
QUEUES: "celery"
WORKERS_COUNT: 1
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: INFO
REDASH_REDIS_URL: redis://redis:6379/0
POSTGRES_PASSWORD: password
REDASH_COOKIE_SECRET: secret
REDASH_SECRET_KEY: secret
REDASH_DATABASE_URL: postgresql://postgres:password@data-warehouse/redash
redash_scheduled_worker:
image: redash/redash:8.0.2.b37747
command: worker
environment:
QUEUES: "scheduled_queries,schemas"
WORKERS_COUNT: 1
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: INFO
REDASH_REDIS_URL: redis://redis:6379/0
POSTGRES_PASSWORD: password
REDASH_COOKIE_SECRET: secret
REDASH_SECRET_KEY: secret
REDASH_DATABASE_URL: postgresql://postgres:password@data-warehouse/redash
redash_adhoc_worker:
image: redash/redash:8.0.2.b37747
command: worker
environment:
QUEUES: "queries"
WORKERS_COUNT: 2
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: INFO
REDASH_REDIS_URL: redis://redis:6379/0
POSTGRES_PASSWORD: password
REDASH_COOKIE_SECRET: secret
REDASH_SECRET_KEY: secret
REDASH_DATABASE_URL: postgresql://postgres:password@data-warehouse/redash
redis:
image: redis:5.0-alpine