2019-04-05 20:48:34 +00:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
jqab:
|
2019-04-05 21:03:16 +00:00
|
|
|
build: ./web
|
2019-04-05 20:48:34 +00:00
|
|
|
container_name: jqab
|
|
|
|
hostname: jqab
|
|
|
|
entrypoint:
|
|
|
|
- node
|
|
|
|
- index
|
2019-04-05 21:03:16 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2019-04-05 20:48:34 +00:00
|
|
|
networks:
|
|
|
|
- net
|
2019-04-07 18:53:55 +00:00
|
|
|
|
|
|
|
elasticsearch:
|
2019-04-07 18:59:54 +00:00
|
|
|
image: elasticsearch:6.7.0
|
2019-04-07 18:53:55 +00:00
|
|
|
restart: always
|
|
|
|
container_name: elasticsearch
|
|
|
|
hostname: elasticsearch
|
|
|
|
environment:
|
2019-04-07 18:59:54 +00:00
|
|
|
- discovery.type=single-node
|
2019-04-07 18:53:55 +00:00
|
|
|
ulimits:
|
|
|
|
memlock:
|
|
|
|
soft: -1
|
|
|
|
hard: -1
|
|
|
|
volumes:
|
|
|
|
- ./esdata:/usr/share/elasticsearch/data
|
|
|
|
expose:
|
|
|
|
- 9200
|
|
|
|
networks:
|
|
|
|
- net
|
|
|
|
|
2019-04-05 20:48:34 +00:00
|
|
|
networks:
|
2019-04-05 21:03:16 +00:00
|
|
|
net:
|