forked from ic3software/mccs-alpha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
60 lines (55 loc) · 1.12 KB
/
docker-compose.dev.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
version: '3'
services:
web:
container_name: mccs
build:
context: .
dockerfile: dockerfile.dev
volumes:
- ./:/usr/src/app
ports:
- 8080:8080
depends_on:
- mongo
- es01
postgres:
container_name: postgres
image: postgres:11.4
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=mccs
volumes:
- postgresql:/var/lib/postgresql/data
mongo:
container_name: mongo
image: mongo:4.0.10
ports:
- 27017:27017
volumes:
- mongodb:/data/db
es01:
container_name: es01
image: docker.elastic.co/elasticsearch/elasticsearch:7.1.1
environment:
- node.name=es01
- cluster.initial_master_nodes=es01
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- 9200:9200
volumes:
- esdata01:/usr/share/elasticsearch/data
kibana:
container_name: kibana
image: docker.elastic.co/kibana/kibana:7.1.1
environment:
- ELASTICSEARCH_HOSTS=http://es01:9200
ports:
- 5601:5601
depends_on:
- es01
volumes:
postgresql:
mongodb:
esdata01: