forked from rhsimplex/image-match
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 936 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
version: '2'
services:
image-match:
build:
context: .
image: ascribe/image-match
container_name: image-match
volumes:
- .:/usr/src/app/
depends_on:
- "elasticsearch"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.2.2
container_name: elasticsearch
environment:
- xpack.security.enabled=false
- xpack.monitoring.enabled=false
- http.host=0.0.0.0
- transport.host=127.0.0.1
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ports:
- "9200:9200"
bdocs:
build:
context: .
image: ascribe/image-match
container_name: bdocs
volumes:
- .:/usr/src/app/
working_dir: /usr/src/app/docs
command: make html
vdocs:
image: nginx:alpine
ports:
- '40080:80'
volumes:
- ./docs/build/html:/usr/share/nginx/html