Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
96 lines (80 loc) · 2.2 KB
/
Copy pathdocker-compose.yml
File metadata and controls
96 lines (80 loc) · 2.2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
version: '3.3'
services:
# =================
# ==== STORAGE ====
# =================
# Elasticsearch
search1:
image: docker.elastic.co/elasticsearch/elasticsearch:7.0.0
environment:
- cluster.name=retailplanet
- node.name=search1
- cluster.initial_master_nodes=search1
- bootstrap.memory_lock=false
- "ES_JAVA_OPTS=-Xms2G -Xmx2G"
volumes:
- ./.elastic:/usr/share/elasticsearch/data
ports:
- 9200:9200
# MongoDB
mongodb:
image: mongo
ports:
- "27017:27017"
volumes:
- ./.mongodb:/data/db
# =======================
# ==== DOCUMENTATION ====
# =======================
docs:
image: redocly/redoc
ports:
- 9500:80
volumes:
- ./docs/public:/usr/share/nginx/html/public
environment:
- SPEC_URL=public/v1/endpoints.yml
# ======================
# ==== API Services ====
# ======================
# searchAPI-Service
search:
image: images.conceptive.io/retailplanet.backend.search.native:latest
ports:
- 8880:8080
# BusinessAPI-Service
businessapi:
image: images.conceptive.io/retailplanet.backend.businessapi.native:latest
ports:
- 8881:8080
# UserAuth-Service
userauth:
image: images.conceptive.io/retailplanet.backend.userauth.native:latest
ports:
- 8882:8080
# ===========================
# ==== Internal Services ====
# ===========================
# BusinessToken-Service
businesstoken:
image: images.conceptive.io/retailplanet.backend.businesstoken:latest # no native image, because H2 can not be embedded
volumes:
- ./.h2:/data/h2
environment:
H2_DATA: /data/h2/businesstoken
# Elasticsearch-Service
elasticsearch:
image: images.conceptive.io/retailplanet.backend.elasticsearch.native:latest
links:
- search1
environment:
ELASTICSEARCH_SERVERS: search1:9200
# Markets-Service
markets:
image: images.conceptive.io/retailplanet.backend.markets.native:latest
# Products-Service
products:
image: images.conceptive.io/retailplanet.backend.products.native:latest
# Metrics-Service
metrics:
image: images.conceptive.io/retailplanet.backend.metrics.native:latest