Sha256: db4faf0d3bf5440f47cc1696197d9e71e4fe20ac434fd445b97515a2e7bc5ac8
Contents?: true
Size: 1013 Bytes
Versions: 21
Compression:
Stored size: 1013 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_redmine_base0/data_unit' require 'avm/eac_redmine_base0/instances/docker_image' require 'avm/eac_webapp_base0/instance' require 'avm/eac_rails_base1/instance' module Avm module EacRedmineBase0 class Instance < ::Avm::EacRailsBase1::Instance FILES_UNITS = { files: 'files' }.freeze def docker_image_class ::Avm::EacRedmineBase0::Instances::DockerImage end def docker_run_arguments [ '--volume', "#{read_entry(::Avm::Instances::EntryKeys::FS_PATH)}:/home/myuser/eac_redmine_base0", '--publish', "#{read_entry(:ssh_port)}:22", '--publish', "#{read_entry(:http_port)}:80", '--publish', "#{read_entry(:https_port)}:443" ] end def data_package @data_package ||= ::Avm::Data::Instance::Package.new( self, units: { all: ::Avm::EacRedmineBase0::DataUnit.new(self) } ) end end end end
Version data entries
21 entries across 21 versions & 2 rubygems