36 lines
599 B
YAML
36 lines
599 B
YAML
version: '2'
|
|
|
|
services:
|
|
jqab:
|
|
build: ./web
|
|
container_name: jqab
|
|
hostname: jqab
|
|
entrypoint:
|
|
- node
|
|
- index
|
|
ports:
|
|
- "8080:8080"
|
|
networks:
|
|
- net
|
|
|
|
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
|
|
|
|
networks:
|
|
net:
|