jqab/docker-compose.yml
2019-04-07 20:59:54 +02:00

36 lines
567 B
YAML

version: '2'
services:
jqab:
build: ./web
container_name: jqab
hostname: jqab
entrypoint:
- node
- index
ports:
- "8080:8080"
networks:
- net
elasticsearch:
image: elasticsearch:6.7.0
restart: always
container_name: elasticsearch
hostname: elasticsearch
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./esdata:/usr/share/elasticsearch/data
expose:
- 9200
networks:
- net
networks:
net: