Class: Avm::EacRedmineBase0::Instance
- Inherits:
-
Stereotypes::EacWebappBase0::Instance
- Object
- Instances::Base
- Stereotypes::EacWebappBase0::Instance
- Avm::EacRedmineBase0::Instance
- Includes:
- Stereotypes::Rails::Instance
- Defined in:
- lib/avm/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 Stereotypes::Rails::Instance
Methods inherited from Stereotypes::EacWebappBase0::Instance
#data_dump, #data_dump_runner_class, #database_unit, #run_subcommand, #stereotype_name
Methods included from Stereotypes::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
28 29 30 31 32 33 34 35 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 28 def data_package @data_package ||= ::Avm::Data::Instance::Package.new( self, units: { all: ::Avm::EacRedmineBase0::DataUnit.new(self) } ) end |
#docker_image_class ⇒ Object
15 16 17 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 15 def docker_image_class ::Avm::Stereotypes::EacUbuntuBase0::DockerImage end |
#docker_run_arguments ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 19 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 |