jqab/docker-compose.yml
2019-04-07 21:16:26 +02:00

36 lines
569 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: