forked from akumaramar/ModernECommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (41 loc) · 912 Bytes
/
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
version: '3.4'
services:
elasticsearch:
image: nshou/elasticsearch-kibana
container_name: elasticsearch
ports:
- "9200:9200"
- "5601:5601"
volumes:
- ./elasticsearch-data:/usr/share/elasticsearch/data
cache.data:
image: redis:alpine
catelogservice.api:
image: ${DOCKER_REGISTRY}catelogserviceapi
build:
context: DotNet
dockerfile: CatelogService.API/Dockerfile
ports:
- "8080:80"
depends_on:
- elasticsearch
- cache.data
links:
- elasticsearch
#app:
# container_name: notification_service
# restart: always
# build:
# context: Node/NotificationService
# dockerfile: Dockerfile
# ports:
# - "3000:3000"
# links:
# - mongo
#mongo:
# container_name: mongo
# image: mongo
# volumes:
# - ./Node/NotificationService/data:/data/db
# ports:
# - "27017:27017"