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:
|
|
|
|
image: 'docker.elastic.co/elasticsearch/elasticsearch:6.7'
|
|
|
|
restart: always
|
|
|
|
container_name: elasticsearch
|
|
|
|
hostname: elasticsearch
|
|
|
|
environment:
|
|
|
|
- cluster.name=elasticsearch
|
|
|
|
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:
|