Class: Avm::EacRedmineBase0::Instance
- Inherits:
-
Avm::EacRailsBase1::Instance
- Object
- Instances::Base
- Avm::EacWebappBase0::Instance
- Avm::EacRailsBase1::Instance
- Avm::EacRedmineBase0::Instance
- Defined in:
- lib/avm/eac_redmine_base0/instance.rb
Constant Summary collapse
- FILES_UNITS =
{ files: 'files' }.freeze
Constants inherited from Avm::EacRailsBase1::Instance
Avm::EacRailsBase1::Instance::DEFAULT_RAILS_ENVIRONMENT
Constants inherited from Instances::Base
Instance Attribute Summary
Attributes inherited from Instances::Base
Attributes included from Instances::Base::Dockerizable
Instance Method Summary collapse
Methods inherited from Avm::EacRailsBase1::Instance
Methods inherited from Avm::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
#entry, #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
27 28 29 30 31 32 33 34 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 27 def data_package @data_package ||= ::Avm::Data::Instance::Package.new( self, units: { all: ::Avm::EacRedmineBase0::DataUnit.new(self) } ) end |
#docker_image_class ⇒ Object
13 14 15 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 13 def docker_image_class ::Avm::EacUbuntuBase0::DockerImage end |
#docker_run_arguments ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/avm/eac_redmine_base0/instance.rb', line 17 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 |