forked from matchID-project/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
59 lines (49 loc) · 1.22 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
version: '2'
services:
nginx:
image: nginx
container_name: nginx
depends_on:
- frontend
volumes:
- ./nginx.conf:/etc/nginx/conf.d/matchid.conf
- ./web-app:/var/www/matchID
ports:
- "80:80"
frontend:
build:
context: .
dockerfile: Dockerfile.dev
args:
proxy: ${http_proxy}
image: matchid-front:latest
container_name: matchid-front
volumes:
- ./index.html:/matchid/index.html
- ./.babelrc:/matchid/.babelrc
- ./.editorconfig:/matchid/.editorconfig
- ./.eslintignore:/matchid/.eslintignore
- ./.eslintrc.js:/matchid/.eslintrc.js
- ./matchIdConfig:/matchid/matchIdConfig/
- ./config:/matchid/config/
- ./src:/matchid/src/
- ./build:/matchid/build/
ports:
- "8080:8080"
elasticsearch:
image: elasticsearch:latest
container_name: elasticsearch
environment:
- cluster.name=docker-cluster
- xpack.security.enabled=false
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 2g
volumes:
- ./esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200