-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yaml
69 lines (68 loc) · 1.74 KB
/
compose.yaml
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
x-redash-environment: &redash-environment
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
REDASH_RATELIMIT_ENABLED: "false"
REDASH_MAIL_DEFAULT_SENDER: "[email protected]"
REDASH_MAIL_SERVER: "email"
REDASH_MAIL_PORT: 1025
REDASH_ENFORCE_CSRF: "true"
REDASH_GUNICORN_TIMEOUT: 60
REDASH_COOKIE_SECRET: secret
REDASH_HOST: "http://localhost:5001"
# REDASH_FEATURE_SHOW_PERMISSIONS_CONTROL: true
services:
server:
image: redash/redash:25.1.0
# command: dev_server
depends_on:
postgres:
condition: service_healthy
redis:
condition: service_started
ports:
- "5001:5000"
- "5678:5678"
environment:
<<: *redash-environment
PYTHONUNBUFFERED: 0
scheduler:
image: redash/redash:25.1.0
command: scheduler
# command: dev_scheduler
depends_on:
- server
environment:
<<: *redash-environment
worker:
image: redash/redash:25.1.0
command: worker
# command: dev_worker
depends_on:
- server
environment:
<<: *redash-environment
PYTHONUNBUFFERED: 0
redis:
image: redis:7-alpine
restart: unless-stopped
postgres:
image: pgautoupgrade/pgautoupgrade:16-alpine3.8
ports:
- "15432:5432"
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
restart: unless-stopped
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 1s
timeout: 1s
retries: 10
email:
image: maildev/maildev
ports:
- "10081:1080"
environment:
MAILDEV_WEB_PORT: 1080
restart: unless-stopped