forked from opendatateam/udata
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.7 KB
/
Copy pathdocker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.7 KB
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
services:
db:
image: mongo:7.0.28
volumes:
- db-data:/data/db
expose:
- "27017"
ports:
- "27017:27017"
ulimits:
nofile:
soft: 4096
hard: 4096
broker:
image: redis
volumes:
- broker-data:/data
expose:
- "6379"
ports:
- "6379:6379"
search:
image: elasticsearch:7.17.28
environment:
- node.name=es01
- cluster.name=es-docker-cluster
- cluster.initial_master_nodes=es01
- cluster.routing.allocation.disk.threshold_enabled=false
- ES_JAVA_OPTS=-Xms750m -Xmx750m
volumes:
- search-data:/usr/share/elasticsearch/data
expose:
- "9200"
ports:
- "9200:9200"
command: >
bash -c "
if ! elasticsearch-plugin list | grep -q analysis-icu; then
elasticsearch-plugin install --batch analysis-icu
fi &&
/usr/local/bin/docker-entrypoint.sh eswrapper
"
storage:
image: minio/minio
volumes:
- storage-data:/data
expose:
- "9000"
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: udata
MINIO_ROOT_PASSWORD: udata-secret
command: server /data --console-address ":9001"
mailpit:
image: axllent/mailpit
ports:
- 8025:8025
- 1025:1025
environment:
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
volumes:
db-data:
broker-data:
search-data:
storage-data: