jqab/docker-compose.yml

36 lines
569 B
YAML
Raw Permalink Normal View History

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
2019-04-07 19:16:26 +00:00
# volumes:
# - ./esdata:/usr/share/elasticsearch/data
2019-04-07 18:53:55 +00:00
expose:
- 9200
networks:
- net
2019-04-05 20:48:34 +00:00
networks:
2019-04-05 21:03:16 +00:00
net: