-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
57 lines (52 loc) · 1.26 KB
/
docker-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
version: '3.8'
services:
database:
image: postgres:latest
environment:
- POSTGRES_DB=facebluk
- POSTGRES_USER=admin
- POSTGRES_PASSWORD=admin
ports:
- '5433:5432'
volumes:
- ./docker-data/database:/var/lib/postgresql/data
document-db:
image: mongo
ports:
- 27017:27017
volumes:
- ./docker-data/document-db/data:/data/db
timeseries-db:
image: influxdb:latest
ports:
- '8086:8086'
volumes:
- ./docker-data/timeseries-db:/var/lib/influxdb2
cache-db:
image: redis:latest
ports:
- "6379:6379"
volumes:
- ./docker-data/cache-db:/data
textsearch-db:
image: elasticsearch:8.7.0
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- http.cors.enabled=true
- http.cors.allow-origin=https://app.elasticvue.com
- ES_JAVA_OPTS=-Xms1g -Xmx1g
volumes:
- ./docker-data/textsearch-db:/usr/share/elasticsearch/data
ports:
- 9200:9200
message-broker:
image: rabbitmq:3-management
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=admin
ports:
- '5672:5672'
- '15672:15672'
volumes:
- ./docker-data/message-broker:/var/lib/rabbitmq