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: