Sha256: 9b31e2a46f2ddb3e93e347770e62bb0d2ea079c5e7f7c12700524a39721bb5f7
Contents?: true
Size: 807 Bytes
Versions: 89
Compression:
Stored size: 807 Bytes
Contents
# frozen_string_literal: true module Gitlab module QA module Component class Opensearch < Base DOCKER_IMAGE = 'opensearchproject/opensearch' def name @name ||= "elastic68" end def tag Runtime::Env.opensearch_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") command.env("ES_JAVA_OPTS", "-Xms512m -Xmx512m") command.env("plugins.security.disabled", "true") end end end end end end
Version data entries
89 entries across 89 versions & 1 rubygems