-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (52 loc) · 1018 Bytes
/
docker-compose.yml
File metadata and controls
56 lines (52 loc) · 1018 Bytes
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
version: '3.5'
services:
media-api:
build: .
container_name: media.api
command: bash -c "tail -f /dev/null"
volumes:
- .:/usr/src
- /usr/src/node_modules
ports:
- "3008:3008"
networks:
api:
aliases:
- media-api
mongo:
image: mongo:3.6
volumes:
- ./data/mongo:/data/db
ports:
- "27017:27017"
networks:
- api
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
volumes:
- ./data/es:/usr/share/elasticsearch/data
networks:
- api
rabbitmq:
image: rabbitmq:3-management
ports:
- "5671:5671"
- "5672:5672"
- "15671:15671"
- "15672:15672"
networks:
- api
networks:
api:
name: api
driver: bridge