-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
76 lines (73 loc) · 1.54 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# docker-compose.yml file
version: '3.6'
services:
search_service:
build:
context: ./search-service
dockerfile: Dockerfile-dev
volumes:
- type: bind
source: ./search-service/
target: /usr/app
depends_on:
- elasticsearch
links:
- elasticsearch
ports:
- 3009:3009
command: npm run install_and_run
web_ui:
build:
context: ./web-ui
dockerfile: Dockerfile-dev
volumes:
- type: bind
source: ./web-ui/
target: /usr/app
ports:
- 3003:3003
command: npm run start
auth_service:
build:
context: ./auth-service
dockerfile: Dockerfile-dev
volumes:
- type: bind
source: ./auth-service/
target: /usr/app
depends_on:
- elasticsearch
links:
- elasticsearch
ports:
- 3010:3010
command: npm run install_and_run
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
environment:
- discovery.type=single-node
ports:
- 9300:9300
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:7.5.2
ports:
- 5601:5601
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
rabbitmq:
image: rabbitmq
ports:
- "15672:15672"
- "5672:5672"
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: w3lc0me!
adminer:
image: adminer
restart: always
ports:
- 8080:8080