Sha256: 01b54cb29f80bb3ec09e120654ecd6b3385a8005a45a0ad426500c086a7c21c2
Contents?: true
Size: 990 Bytes
Versions: 36
Compression:
Stored size: 990 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_redmine_base0/data_unit' require 'avm/eac_ubuntu_base0/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::EacUbuntuBase0::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
36 entries across 36 versions & 1 rubygems