Class: Avm::Stereotypes::EacRedmineBase0::Instance
- Inherits:
-
Avm::Stereotypes::EacWebappBase0::Instance
- Object
- Instances::Base
- Avm::Stereotypes::EacWebappBase0::Instance
- Avm::Stereotypes::EacRedmineBase0::Instance
- Includes:
- Rails::Instance
- Defined in:
- lib/avm/stereotypes/eac_redmine_base0/instance.rb
Constant Summary collapse
- FILES_UNITS =
{ files: 'files' }.freeze
Constants inherited from Instances::Base
Instance Attribute Summary
Attributes inherited from Instances::Base
Attributes included from Instances::Base::Dockerizable
Instance Method Summary collapse
Methods included from Rails::Instance
Methods inherited from Avm::Stereotypes::EacWebappBase0::Instance
#data_dump, #data_dump_runner_class, #database_unit, #run_subcommand, #stereotype_name
Methods included from Postgresql::InstanceWith
Methods inherited from Instances::Base
by_id, #host_env_uncached, #id, #initialize, #to_s
Methods included from Instances::Entries
#full_entry_path, #inherited_entry_value, #other_entry_value, #path_prefix, #read_entry, #read_entry_optional
Methods included from Instances::Base::Dockerizable
#docker_container_exist?, #docker_container_name
Constructor Details
This class inherits a constructor from Avm::Instances::Base
Instance Method Details
#data_package ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/avm/stereotypes/eac_redmine_base0/instance.rb', line 29 def data_package @data_package ||= ::Avm::Data::Instance::Package.new( self, units: { all: ::Avm::Stereotypes::EacRedmineBase0::DataUnit.new(self) } ) end |
#docker_image_class ⇒ Object
16 17 18 |
# File 'lib/avm/stereotypes/eac_redmine_base0/instance.rb', line 16 def docker_image_class ::Avm::Stereotypes::EacUbuntuBase0::DockerImage end |
#docker_run_arguments ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/avm/stereotypes/eac_redmine_base0/instance.rb', line 20 def docker_run_arguments [ '--volume', "#{read_entry(: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 |