forked from DeepInsight-AI/DeepBI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
76 lines (76 loc) · 1.6 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
73
74
75
76
version: "2.0"
x-service: &deepbi-service
build:
context: .
volumes:
- .:/app
env_file:
- .env
x-environment: &deepbi-environment
DEEPBI_LOG_LEVEL: "INFO"
DEEPBI_RATELIMIT_ENABLED: "false"
DEEPBI_MAIL_DEFAULT_SENDER: "[email protected]"
DEEPBI_MAIL_SERVER: "email"
DEEPBI_ENFORCE_CSRF: "true"
DEEPBI_GUNICORN_TIMEOUT: 60
DEEPBI_WEB_WORKERS: 4
DEEPBI_CELERY_WORKERS: 4
services:
server:
<<: *deepbi-service
command: server
depends_on:
- postgres
- redis
ports:
- "8338:8338"
environment:
<<: *deepbi-environment
PYTHONUNBUFFERED: 0
server_ai_api:
<<: *deepbi-service
command: server_api
depends_on:
- server
ports:
- "8340:8340"
environment:
<<: *deepbi-environment
server_socket:
<<: *deepbi-service
command: server_socket
depends_on:
- server
ports:
- "8339:8339"
environment:
<<: *deepbi-environment
scheduler:
<<: *deepbi-service
command: scheduler
depends_on:
- server
environment:
<<: *deepbi-environment
worker:
<<: *deepbi-service
command: worker
depends_on:
- server
environment:
<<: *deepbi-environment
PYTHONUNBUFFERED: 0
redis:
image: redis:3-alpine
restart: unless-stopped
postgres:
image: postgres:14-alpine
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
restart: unless-stopped
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
email:
image: maildev/maildev
ports:
- "1080:80"
restart: unless-stopped