Sha256: d96e8bd6ccf89bc24a8bd9320fa282ef441b922a228685414fde4c592d883fc4
Contents?: true
Size: 678 Bytes
Versions: 36
Compression:
Stored size: 678 Bytes
Contents
module Gitlab module QA module Component class Elasticsearch < Base DOCKER_IMAGE = 'docker.elastic.co/elasticsearch/elasticsearch'.freeze def name @name ||= "elastic68" end def tag Runtime::Env.elastic_version end def start @docker.run(image: image, tag: tag) do |command| command << "-d" command << "--name #{name}" command << "--net #{network}" command << "--publish 9200:9200" command << "--publish 9300:9300" command.env("discovery.type", "single-node") end end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems