forked from VergeOps/k8s-rvstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
58 lines (58 loc) · 1.58 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
version: '3.8'
services:
ui:
image: public.ecr.aws/vergeops/rvstore-ui
restart: always
ports:
- "80:80"
rvstore-api-gateway:
image: public.ecr.aws/vergeops/rvstore-gateway-service
restart: always
ports:
- "9000:9000"
environment:
- SPRING_PROFILES_ACTIVE=compose
rvstore-auth-api:
image: public.ecr.aws/vergeops/rvstore-auth-api
restart: always
ports:
- "9003:9003"
rvstore-product-api:
image: public.ecr.aws/vergeops/rvstore-product-api
restart: always
ports:
- "9001:9001"
environment:
- ENVIRONMENT=containerized
rvstore-order-api:
image: public.ecr.aws/vergeops/rvstore-order-api
restart: always
ports:
- "9002:9002"
environment:
- SPRING_PROFILES_ACTIVE=compose
rvstore-orders-mongodb:
image: "mongo"
restart: always
ports:
- "27017:27017"
environment:
- MONGO_INITDB_ROOT_USERNAME=mongoadmin
- MONGO_INITDB_ROOT_PASSWORD=secret
rvstore-order-simulator:
image: public.ecr.aws/vergeops/rvstore-order-simulator
environment:
- SPRING_PROFILES_ACTIVE=compose
rvstore-product-sync:
image: public.ecr.aws/vergeops/rvstore-product-sync
elasticsearch:
image: public.ecr.aws/vergeops/rvstore-elasticsearch:latest
ports:
- "9200:9200"
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms256m -Xmx256m
- http.cors.allow-origin=*
- http.cors.enabled=true
- http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization
- http.cors.allow-credentials=true