superhosting 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +1 -0
- data/.travis.yml +13 -0
- data/Gemfile.lock +43 -7
- data/LICENSE.txt +4 -1
- data/Vagrantfile +6 -3
- data/bin/sx +6 -2
- data/bootstrap/etc/sx/default_model +1 -0
- data/bootstrap/etc/sx/models/base/container/docker/command +1 -0
- data/bootstrap/etc/sx/models/base/container/docker/user.erb +1 -0
- data/bootstrap/etc/sx/models/base/container/docker/volume.erb +2 -0
- data/bootstrap/etc/sx/models/bitrix_l/inherit +3 -0
- data/bootstrap/etc/sx/models/bitrix_m/inherit +3 -0
- data/bootstrap/etc/sx/models/bitrix_xl/inherit +3 -0
- data/bootstrap/etc/sx/models/common_bitrix/abstract +1 -0
- data/bootstrap/etc/sx/models/common_bitrix/container/mux +1 -0
- data/bootstrap/etc/sx/models/common_bitrix/inherit +1 -0
- data/bootstrap/etc/sx/models/common_bitrix/site/php/admin_value +2 -0
- data/bootstrap/etc/sx/models/common_bitrix/site/php/flag +1 -0
- data/bootstrap/etc/sx/models/common_bitrix/site/php/value +6 -0
- data/bootstrap/etc/sx/models/common_fcgi/abstract +1 -0
- data/bootstrap/etc/sx/models/common_fcgi/container/config.rb +6 -0
- data/bootstrap/etc/sx/models/common_fcgi/container/config_templates/supervisord.conf.erb +16 -0
- data/bootstrap/etc/sx/models/common_fcgi/container/docker/image +1 -0
- data/bootstrap/etc/sx/models/common_fcgi/container/docker/user.erb +1 -0
- data/bootstrap/etc/sx/models/common_fcgi/container/system_users +1 -0
- data/bootstrap/etc/sx/models/common_fcgi/site/config.rb +4 -0
- data/bootstrap/etc/sx/models/common_fcgi/site/config_templates/nginx_vhost.erb +21 -0
- data/bootstrap/etc/sx/models/common_joomla/abstract +1 -0
- data/bootstrap/etc/sx/models/common_joomla/site/php/flag +1 -0
- data/bootstrap/etc/sx/models/common_joomla/site/php/value +2 -0
- data/bootstrap/etc/sx/models/common_joomla_v2/abstract +1 -0
- data/bootstrap/etc/sx/models/common_joomla_v2/container/mux +1 -0
- data/bootstrap/etc/sx/models/common_joomla_v2/inherit +2 -0
- data/bootstrap/etc/sx/models/common_joomla_v3/abstract +1 -0
- data/bootstrap/etc/sx/models/common_joomla_v3/container/mux +1 -0
- data/bootstrap/etc/sx/models/common_joomla_v3/inherit +2 -0
- data/bootstrap/etc/sx/models/common_l/abstract +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/cpu_period +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/cpu_quota +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/common_l/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/common_m/abstract +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/cpu_period +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/cpu_quota +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/common_m/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/common_mail/abstract +1 -0
- data/bootstrap/etc/sx/models/common_mail/container/config.rb +12 -0
- data/bootstrap/etc/sx/models/common_mail/container/config_templates/postfwd_rules.erb +12 -0
- data/bootstrap/etc/sx/models/common_mail/container/config_templates/ssmtp.conf.erb +6 -0
- data/bootstrap/etc/sx/models/common_mail/container/mail/daily_limit +1 -0
- data/bootstrap/etc/sx/models/common_mail/container/mail/enabled +1 -0
- data/bootstrap/etc/sx/models/common_mail/container/mail/hourly_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_l/abstract +1 -0
- data/bootstrap/etc/sx/models/common_php_l/container/mail/daily_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_l/container/mail/hourly_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_l/inherit +1 -0
- data/bootstrap/etc/sx/models/common_php_l/site/php/pm +1 -0
- data/bootstrap/etc/sx/models/common_php_l/site/php/pm_max_children +1 -0
- data/bootstrap/etc/sx/models/common_php_l/site/php/pm_max_spare_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_l/site/php/pm_min_spare_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_l/site/php/pm_start_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_m/abstract +1 -0
- data/bootstrap/etc/sx/models/common_php_m/inherit +1 -0
- data/bootstrap/etc/sx/models/common_php_m/site/php/pm_max_children +1 -0
- data/bootstrap/etc/sx/models/common_php_s/abstract +1 -0
- data/bootstrap/etc/sx/models/common_php_s/inherit +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/abstract +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/container/mail/daily_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/container/mail/hourly_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/inherit +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/site/php/pm +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/site/php/pm_max_children +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/site/php/pm_max_spare_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/site/php/pm_min_spare_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_xl/site/php/pm_start_servers +1 -0
- data/bootstrap/etc/sx/models/common_php_xs/abstract +1 -0
- data/bootstrap/etc/sx/models/common_php_xs/container/mail/daily_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_xs/container/mail/hourly_limit +1 -0
- data/bootstrap/etc/sx/models/common_php_xs/inherit +1 -0
- data/bootstrap/etc/sx/models/common_php_xs/site/php/pm_max_children +1 -0
- data/bootstrap/etc/sx/models/common_s/abstract +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/cpu_period +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/cpu_quota +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/common_s/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/common_symfony/abstract +1 -0
- data/bootstrap/etc/sx/models/common_symfony/container/mux +1 -0
- data/bootstrap/etc/sx/models/common_symfony/container/system_users +1 -0
- data/bootstrap/etc/sx/models/common_symfony/inherit +1 -0
- data/bootstrap/etc/sx/models/common_symfony/site/php/flag +3 -0
- data/bootstrap/etc/sx/models/common_symfony/site/php/user +1 -0
- data/bootstrap/etc/sx/models/common_symfony/site/use_apache +1 -0
- data/bootstrap/etc/sx/models/common_xl/abstract +1 -0
- data/bootstrap/etc/sx/models/common_xl/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/common_xl/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/common_xl/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/common_xl/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/common_xs/abstract +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/cpu_period +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/cpu_quota +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/common_xs/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/fcgi_l/inherit +3 -0
- data/bootstrap/etc/sx/models/fcgi_m/inherit +3 -0
- data/bootstrap/etc/sx/models/fcgi_s/inherit +3 -0
- data/bootstrap/etc/sx/models/fcgi_xl/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v2_l/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v2_m/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v2_s/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v2_xs/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v3_l/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v3_m/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v3_s/inherit +3 -0
- data/bootstrap/etc/sx/models/joomla_v3_xs/inherit +3 -0
- data/bootstrap/etc/sx/models/symfony_l/inherit +3 -0
- data/bootstrap/etc/sx/models/symfony_m/inherit +3 -0
- data/bootstrap/etc/sx/models/symfony_xl/inherit +3 -0
- data/bootstrap/etc/sx/models/test/container/config.rb +4 -0
- data/bootstrap/etc/sx/models/test/container/config_templates/supervisord.conf.erb +16 -0
- data/bootstrap/etc/sx/models/test/container/docker/blkio_weight +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/command +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/cpu_period +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/cpu_quota +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/cpu_shares +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/image +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/memory +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/memory_swap +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/user.erb +1 -0
- data/bootstrap/etc/sx/models/test/container/docker/volume.erb +2 -0
- data/bootstrap/etc/sx/models/test/container/system_users +1 -0
- data/bootstrap/etc/sx/models/test/site/config.rb +4 -0
- data/bootstrap/etc/sx/models/test/site/config_templates/nginx_vhost.erb +21 -0
- data/bootstrap/etc/sx/models/test_with_mux/container/mux +1 -0
- data/bootstrap/etc/sx/models/test_with_mux/inherit +1 -0
- data/bootstrap/etc/sx/muxs/base/docker/command +1 -0
- data/bootstrap/etc/sx/muxs/php-5.3/container/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.3/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.3/inherit +2 -0
- data/bootstrap/etc/sx/muxs/php-5.5/container/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.5/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.5/inherit +2 -0
- data/bootstrap/etc/sx/muxs/php-5.6/container/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.6/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/php-5.6/inherit +2 -0
- data/bootstrap/etc/sx/muxs/php/abstract +1 -0
- data/bootstrap/etc/sx/muxs/php/docker/pid +1 -0
- data/bootstrap/etc/sx/muxs/php/docker/privileged +1 -0
- data/bootstrap/etc/sx/muxs/php/docker/volume +3 -0
- data/bootstrap/etc/sx/muxs/php/site/config.rb +10 -0
- data/bootstrap/etc/sx/muxs/php/site/config_templates/apache_vhost.erb +26 -0
- data/bootstrap/etc/sx/muxs/php/site/config_templates/nginx_vhost.erb +39 -0
- data/bootstrap/etc/sx/muxs/php/site/config_templates/php_fpm_pool.erb +22 -0
- data/bootstrap/etc/sx/muxs/php/site/php/pm +1 -0
- data/bootstrap/etc/sx/muxs/php/site/php/pm_max_children +1 -0
- data/bootstrap/etc/sx/muxs/php/site/use_apache +1 -0
- data/bootstrap/etc/sx/muxs/test/container/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/test/docker/command +1 -0
- data/bootstrap/etc/sx/muxs/test/docker/image +1 -0
- data/bootstrap/etc/sx/muxs/test/inherit +1 -0
- data/bootstrap/etc/sx/password_strength +1 -0
- data/bootstrap/etc/sx/smtp_hostname +1 -0
- data/dockerfile/almost_base +19 -0
- data/dockerfile/base +18 -0
- data/dockerfile/mux +6 -0
- data/lib/superhosting.rb +39 -5
- data/lib/superhosting/base.rb +15 -21
- data/lib/superhosting/cli/base.rb +56 -40
- data/lib/superhosting/cli/cmd/admin_add.rb +5 -0
- data/lib/superhosting/cli/cmd/admin_container_list.rb +4 -0
- data/lib/superhosting/cli/cmd/admin_list.rb +11 -0
- data/lib/superhosting/cli/cmd/admin_passwd.rb +4 -0
- data/lib/superhosting/cli/cmd/container_admin_list.rb +4 -0
- data/lib/superhosting/cli/cmd/container_inspect.rb +11 -0
- data/lib/superhosting/cli/cmd/container_list.rb +18 -0
- data/lib/superhosting/cli/cmd/container_reconfigure.rb +11 -0
- data/lib/superhosting/cli/cmd/container_rename.rb +16 -0
- data/lib/superhosting/cli/cmd/model_list.rb +11 -0
- data/lib/superhosting/cli/cmd/{container_reconfig.rb → model_reconfigure.rb} +1 -1
- data/lib/superhosting/cli/cmd/model_tree.rb +30 -0
- data/lib/superhosting/cli/cmd/model_update.rb +11 -0
- data/lib/superhosting/cli/cmd/mux_reconfigure.rb +11 -0
- data/lib/superhosting/cli/cmd/repair.rb +8 -0
- data/lib/superhosting/cli/cmd/site_container.rb +15 -0
- data/lib/superhosting/cli/cmd/site_inspect.rb +11 -0
- data/lib/superhosting/cli/cmd/site_list.rb +35 -0
- data/lib/superhosting/cli/cmd/site_name.rb +15 -0
- data/lib/superhosting/cli/cmd/site_reconfigure.rb +11 -0
- data/lib/superhosting/cli/cmd/site_rename.rb +4 -0
- data/lib/superhosting/cli/cmd/user_add.rb +11 -5
- data/lib/superhosting/cli/cmd/user_change.rb +12 -6
- data/lib/superhosting/cli/cmd/user_list.rb +7 -0
- data/lib/superhosting/cli/cmd/user_passwd.rb +9 -0
- data/lib/superhosting/composite_mapper.rb +12 -0
- data/lib/superhosting/composite_mapper/base.rb +17 -0
- data/lib/superhosting/composite_mapper/container.rb +9 -0
- data/lib/superhosting/composite_mapper/site.rb +13 -0
- data/lib/superhosting/config/net_status.yml +122 -0
- data/lib/superhosting/config_executor.rb +12 -0
- data/lib/superhosting/{script_executor → config_executor}/base.rb +6 -5
- data/lib/superhosting/config_executor/container.rb +69 -0
- data/lib/superhosting/config_executor/site.rb +18 -0
- data/lib/superhosting/controller/admin.rb +84 -4
- data/lib/superhosting/controller/admin/container.rb +62 -2
- data/lib/superhosting/controller/base.rb +18 -0
- data/lib/superhosting/controller/container.rb +185 -122
- data/lib/superhosting/controller/container/admin.rb +25 -3
- data/lib/superhosting/controller/container/states.rb +296 -0
- data/lib/superhosting/controller/model.rb +62 -0
- data/lib/superhosting/controller/mux.rb +88 -0
- data/lib/superhosting/controller/mysql.rb +2 -2
- data/lib/superhosting/controller/site.rb +217 -72
- data/lib/superhosting/controller/site/alias.rb +32 -6
- data/lib/superhosting/controller/site/states.rb +41 -0
- data/lib/superhosting/controller/user.rb +233 -4
- data/lib/superhosting/docker_api.rb +170 -6
- data/lib/superhosting/helper/cmd.rb +40 -0
- data/lib/superhosting/helper/config.rb +80 -0
- data/lib/superhosting/helper/file.rb +56 -0
- data/lib/superhosting/helper/i18n.rb +13 -0
- data/lib/superhosting/helper/logger.rb +136 -0
- data/lib/superhosting/helper/states.rb +69 -0
- data/lib/superhosting/helpers.rb +5 -21
- data/lib/superhosting/mapper_inheritance/base.rb +16 -0
- data/lib/superhosting/mapper_inheritance/model.rb +96 -0
- data/lib/superhosting/mapper_inheritance/mux.rb +49 -0
- data/lib/superhosting/patches/path_mapper/dir_node.rb +23 -0
- data/lib/superhosting/patches/path_mapper/file_node.rb +47 -0
- data/lib/superhosting/patches/path_mapper/null_node.rb +35 -0
- data/lib/superhosting/patches/string/punycode.rb +21 -0
- data/lib/superhosting/version.rb +1 -1
- data/provision/bootstrap.sh +11 -0
- data/provision/docker.sh +25 -0
- data/provision/pam_docker.sh +5 -0
- data/{bootstrap.sh → provision/vagrant.sh} +5 -8
- data/superhosting.gemspec +14 -3
- metadata +368 -12
- data/lib/superhosting/script_executor/container.rb +0 -36
- data/lib/superhosting/script_executor/site.rb +0 -13
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env /bin/bash
|
2
2
|
|
3
3
|
apt-get update
|
4
|
-
apt-get install -y build-essential libpam0g-dev apt-transport-https ca-certificates
|
4
|
+
apt-get install -y build-essential libpam0g-dev apt-transport-https ca-certificates tree
|
5
5
|
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
|
6
6
|
echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' > /etc/apt/sources.list.d/docker.list
|
7
7
|
apt-get update
|
@@ -10,16 +10,13 @@ apt-get install -y docker-engine
|
|
10
10
|
gpasswd -a vagrant docker
|
11
11
|
service docker restart
|
12
12
|
|
13
|
-
cd /tmp
|
14
|
-
git clone https://github.com/flant/pam_docker.git
|
15
|
-
cd pam_docker
|
16
|
-
make
|
17
|
-
make install-ubuntu-14.04
|
18
|
-
|
19
13
|
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
|
20
|
-
curl -sSL https://get.rvm.io |
|
14
|
+
curl -sSL https://get.rvm.io | bash -s stable
|
21
15
|
|
22
16
|
echo 'source /etc/profile.d/rvm.sh' >> /etc/bash.bashrc
|
17
|
+
echo 'export BUNDLE_GEMFILE=/vagrant/Gemfile' >> /etc/bash.bashrc
|
18
|
+
sed -ir 's/# *(\".*history-search)/\1/' /etc/inputrc
|
19
|
+
|
23
20
|
source /etc/profile.d/rvm.sh
|
24
21
|
|
25
22
|
rvm group add rvm vagrant
|
data/superhosting.gemspec
CHANGED
@@ -5,21 +5,31 @@ require 'superhosting/version'
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "superhosting"
|
7
7
|
spec.version = Superhosting::VERSION
|
8
|
-
spec.authors = ["
|
9
|
-
spec.email = ["alexey.igrychev@flant.
|
8
|
+
spec.authors = ["Alexey Igrychev", "Timofey Kirillov", "Dmitry Stolyarov"]
|
9
|
+
spec.email = ["alexey.igrychev@flant.com", "timofey.kirillov@flant.com", "dmitry.stolyarov@flant.com"]
|
10
10
|
|
11
11
|
spec.summary = "The tool for web hosting using docker containers"
|
12
12
|
spec.description = "#{spec.summary}."
|
13
13
|
spec.license = "MIT"
|
14
|
-
spec.homepage = "https://github.com/flant/
|
14
|
+
spec.homepage = "https://github.com/flant/superhosting"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.executables = ['sx']
|
18
18
|
|
19
|
+
spec.required_ruby_version = '>= 2.2.1'
|
20
|
+
|
19
21
|
spec.add_dependency 'mixlib-cli', '>= 1.5.0', '< 2.0'
|
20
22
|
spec.add_dependency 'mixlib-shellout', '>= 2.2.6', '< 3.0'
|
21
23
|
spec.add_dependency 'path_mapper', '>= 0.0.1', '< 1.0'
|
22
24
|
spec.add_dependency 'net_status', '>= 0.0.1', '< 1.0'
|
25
|
+
spec.add_dependency 'i18n', '~> 0.7'
|
26
|
+
spec.add_dependency 'activesupport', '~> 4.2', '>= 4.2.5.2'
|
27
|
+
spec.add_dependency 'unix-crypt', '~> 1.3'
|
28
|
+
spec.add_dependency 'highline', '~> 1.7', '>= 1.7.8'
|
29
|
+
spec.add_dependency 'unicode', '~> 0.4'
|
30
|
+
spec.add_dependency 'punycode4r', '~> 0.2'
|
31
|
+
spec.add_dependency 'polling', '~> 0.1.5'
|
32
|
+
spec.add_dependency 'strong_password', '~> 0.0.5'
|
23
33
|
|
24
34
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
25
35
|
spec.add_development_dependency 'rake', '~> 10.0'
|
@@ -29,4 +39,5 @@ Gem::Specification.new do |spec|
|
|
29
39
|
spec.add_development_dependency 'pry-byebug', '>= 3.3.0', '< 4.0'
|
30
40
|
spec.add_development_dependency 'pry-stack_explorer', '>= 0.4.9.2', '< 1.0'
|
31
41
|
spec.add_development_dependency 'travis', '~> 1.8', '>= 1.8.2'
|
42
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '>= 0.5.0', '< 1.0'
|
32
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superhosting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Alexey Igrychev
|
8
|
+
- Timofey Kirillov
|
9
|
+
- Dmitry Stolyarov
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date: 2016-
|
13
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
16
|
name: mixlib-cli
|
@@ -90,6 +92,130 @@ dependencies:
|
|
90
92
|
- - <
|
91
93
|
- !ruby/object:Gem::Version
|
92
94
|
version: '1.0'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: i18n
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0.7'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '0.7'
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: activesupport
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ~>
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '4.2'
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 4.2.5.2
|
119
|
+
type: :runtime
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ~>
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '4.2'
|
126
|
+
- - ! '>='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 4.2.5.2
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: unix-crypt
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ~>
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '1.3'
|
136
|
+
type: :runtime
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ~>
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '1.3'
|
143
|
+
- !ruby/object:Gem::Dependency
|
144
|
+
name: highline
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '1.7'
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.7.8
|
153
|
+
type: :runtime
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.7'
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 1.7.8
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: unicode
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ~>
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0.4'
|
170
|
+
type: :runtime
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ~>
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0.4'
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: punycode4r
|
179
|
+
requirement: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ~>
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0.2'
|
184
|
+
type: :runtime
|
185
|
+
prerelease: false
|
186
|
+
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ~>
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0.2'
|
191
|
+
- !ruby/object:Gem::Dependency
|
192
|
+
name: polling
|
193
|
+
requirement: !ruby/object:Gem::Requirement
|
194
|
+
requirements:
|
195
|
+
- - ~>
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 0.1.5
|
198
|
+
type: :runtime
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - ~>
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: 0.1.5
|
205
|
+
- !ruby/object:Gem::Dependency
|
206
|
+
name: strong_password
|
207
|
+
requirement: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - ~>
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: 0.0.5
|
212
|
+
type: :runtime
|
213
|
+
prerelease: false
|
214
|
+
version_requirements: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ~>
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 0.0.5
|
93
219
|
- !ruby/object:Gem::Dependency
|
94
220
|
name: bundler
|
95
221
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,9 +364,31 @@ dependencies:
|
|
238
364
|
- - ! '>='
|
239
365
|
- !ruby/object:Gem::Version
|
240
366
|
version: 1.8.2
|
367
|
+
- !ruby/object:Gem::Dependency
|
368
|
+
name: codeclimate-test-reporter
|
369
|
+
requirement: !ruby/object:Gem::Requirement
|
370
|
+
requirements:
|
371
|
+
- - ! '>='
|
372
|
+
- !ruby/object:Gem::Version
|
373
|
+
version: 0.5.0
|
374
|
+
- - <
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '1.0'
|
377
|
+
type: :development
|
378
|
+
prerelease: false
|
379
|
+
version_requirements: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - ! '>='
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 0.5.0
|
384
|
+
- - <
|
385
|
+
- !ruby/object:Gem::Version
|
386
|
+
version: '1.0'
|
241
387
|
description: The tool for web hosting using docker containers.
|
242
388
|
email:
|
243
|
-
- alexey.igrychev@flant.
|
389
|
+
- alexey.igrychev@flant.com
|
390
|
+
- timofey.kirillov@flant.com
|
391
|
+
- dmitry.stolyarov@flant.com
|
244
392
|
executables:
|
245
393
|
- sx
|
246
394
|
extensions: []
|
@@ -256,7 +404,173 @@ files:
|
|
256
404
|
- Rakefile
|
257
405
|
- Vagrantfile
|
258
406
|
- bin/sx
|
259
|
-
- bootstrap
|
407
|
+
- bootstrap/etc/sx/default_model
|
408
|
+
- bootstrap/etc/sx/models/base/container/docker/command
|
409
|
+
- bootstrap/etc/sx/models/base/container/docker/user.erb
|
410
|
+
- bootstrap/etc/sx/models/base/container/docker/volume.erb
|
411
|
+
- bootstrap/etc/sx/models/bitrix_l/inherit
|
412
|
+
- bootstrap/etc/sx/models/bitrix_m/inherit
|
413
|
+
- bootstrap/etc/sx/models/bitrix_xl/inherit
|
414
|
+
- bootstrap/etc/sx/models/common_bitrix/abstract
|
415
|
+
- bootstrap/etc/sx/models/common_bitrix/container/mux
|
416
|
+
- bootstrap/etc/sx/models/common_bitrix/inherit
|
417
|
+
- bootstrap/etc/sx/models/common_bitrix/site/php/admin_value
|
418
|
+
- bootstrap/etc/sx/models/common_bitrix/site/php/flag
|
419
|
+
- bootstrap/etc/sx/models/common_bitrix/site/php/value
|
420
|
+
- bootstrap/etc/sx/models/common_fcgi/abstract
|
421
|
+
- bootstrap/etc/sx/models/common_fcgi/container/config.rb
|
422
|
+
- bootstrap/etc/sx/models/common_fcgi/container/config_templates/supervisord.conf.erb
|
423
|
+
- bootstrap/etc/sx/models/common_fcgi/container/docker/image
|
424
|
+
- bootstrap/etc/sx/models/common_fcgi/container/docker/user.erb
|
425
|
+
- bootstrap/etc/sx/models/common_fcgi/container/system_users
|
426
|
+
- bootstrap/etc/sx/models/common_fcgi/site/config.rb
|
427
|
+
- bootstrap/etc/sx/models/common_fcgi/site/config_templates/nginx_vhost.erb
|
428
|
+
- bootstrap/etc/sx/models/common_joomla/abstract
|
429
|
+
- bootstrap/etc/sx/models/common_joomla/site/php/flag
|
430
|
+
- bootstrap/etc/sx/models/common_joomla/site/php/value
|
431
|
+
- bootstrap/etc/sx/models/common_joomla_v2/abstract
|
432
|
+
- bootstrap/etc/sx/models/common_joomla_v2/container/mux
|
433
|
+
- bootstrap/etc/sx/models/common_joomla_v2/inherit
|
434
|
+
- bootstrap/etc/sx/models/common_joomla_v3/abstract
|
435
|
+
- bootstrap/etc/sx/models/common_joomla_v3/container/mux
|
436
|
+
- bootstrap/etc/sx/models/common_joomla_v3/inherit
|
437
|
+
- bootstrap/etc/sx/models/common_l/abstract
|
438
|
+
- bootstrap/etc/sx/models/common_l/container/docker/blkio_weight
|
439
|
+
- bootstrap/etc/sx/models/common_l/container/docker/cpu_period
|
440
|
+
- bootstrap/etc/sx/models/common_l/container/docker/cpu_quota
|
441
|
+
- bootstrap/etc/sx/models/common_l/container/docker/cpu_shares
|
442
|
+
- bootstrap/etc/sx/models/common_l/container/docker/memory
|
443
|
+
- bootstrap/etc/sx/models/common_l/container/docker/memory_swap
|
444
|
+
- bootstrap/etc/sx/models/common_m/abstract
|
445
|
+
- bootstrap/etc/sx/models/common_m/container/docker/blkio_weight
|
446
|
+
- bootstrap/etc/sx/models/common_m/container/docker/cpu_period
|
447
|
+
- bootstrap/etc/sx/models/common_m/container/docker/cpu_quota
|
448
|
+
- bootstrap/etc/sx/models/common_m/container/docker/cpu_shares
|
449
|
+
- bootstrap/etc/sx/models/common_m/container/docker/memory
|
450
|
+
- bootstrap/etc/sx/models/common_m/container/docker/memory_swap
|
451
|
+
- bootstrap/etc/sx/models/common_mail/abstract
|
452
|
+
- bootstrap/etc/sx/models/common_mail/container/config.rb
|
453
|
+
- bootstrap/etc/sx/models/common_mail/container/config_templates/postfwd_rules.erb
|
454
|
+
- bootstrap/etc/sx/models/common_mail/container/config_templates/ssmtp.conf.erb
|
455
|
+
- bootstrap/etc/sx/models/common_mail/container/mail/daily_limit
|
456
|
+
- bootstrap/etc/sx/models/common_mail/container/mail/enabled
|
457
|
+
- bootstrap/etc/sx/models/common_mail/container/mail/hourly_limit
|
458
|
+
- bootstrap/etc/sx/models/common_php_l/abstract
|
459
|
+
- bootstrap/etc/sx/models/common_php_l/container/mail/daily_limit
|
460
|
+
- bootstrap/etc/sx/models/common_php_l/container/mail/hourly_limit
|
461
|
+
- bootstrap/etc/sx/models/common_php_l/inherit
|
462
|
+
- bootstrap/etc/sx/models/common_php_l/site/php/pm
|
463
|
+
- bootstrap/etc/sx/models/common_php_l/site/php/pm_max_children
|
464
|
+
- bootstrap/etc/sx/models/common_php_l/site/php/pm_max_spare_servers
|
465
|
+
- bootstrap/etc/sx/models/common_php_l/site/php/pm_min_spare_servers
|
466
|
+
- bootstrap/etc/sx/models/common_php_l/site/php/pm_start_servers
|
467
|
+
- bootstrap/etc/sx/models/common_php_m/abstract
|
468
|
+
- bootstrap/etc/sx/models/common_php_m/inherit
|
469
|
+
- bootstrap/etc/sx/models/common_php_m/site/php/pm_max_children
|
470
|
+
- bootstrap/etc/sx/models/common_php_s/abstract
|
471
|
+
- bootstrap/etc/sx/models/common_php_s/inherit
|
472
|
+
- bootstrap/etc/sx/models/common_php_xl/abstract
|
473
|
+
- bootstrap/etc/sx/models/common_php_xl/container/mail/daily_limit
|
474
|
+
- bootstrap/etc/sx/models/common_php_xl/container/mail/hourly_limit
|
475
|
+
- bootstrap/etc/sx/models/common_php_xl/inherit
|
476
|
+
- bootstrap/etc/sx/models/common_php_xl/site/php/pm
|
477
|
+
- bootstrap/etc/sx/models/common_php_xl/site/php/pm_max_children
|
478
|
+
- bootstrap/etc/sx/models/common_php_xl/site/php/pm_max_spare_servers
|
479
|
+
- bootstrap/etc/sx/models/common_php_xl/site/php/pm_min_spare_servers
|
480
|
+
- bootstrap/etc/sx/models/common_php_xl/site/php/pm_start_servers
|
481
|
+
- bootstrap/etc/sx/models/common_php_xs/abstract
|
482
|
+
- bootstrap/etc/sx/models/common_php_xs/container/mail/daily_limit
|
483
|
+
- bootstrap/etc/sx/models/common_php_xs/container/mail/hourly_limit
|
484
|
+
- bootstrap/etc/sx/models/common_php_xs/inherit
|
485
|
+
- bootstrap/etc/sx/models/common_php_xs/site/php/pm_max_children
|
486
|
+
- bootstrap/etc/sx/models/common_s/abstract
|
487
|
+
- bootstrap/etc/sx/models/common_s/container/docker/blkio_weight
|
488
|
+
- bootstrap/etc/sx/models/common_s/container/docker/cpu_period
|
489
|
+
- bootstrap/etc/sx/models/common_s/container/docker/cpu_quota
|
490
|
+
- bootstrap/etc/sx/models/common_s/container/docker/cpu_shares
|
491
|
+
- bootstrap/etc/sx/models/common_s/container/docker/memory
|
492
|
+
- bootstrap/etc/sx/models/common_s/container/docker/memory_swap
|
493
|
+
- bootstrap/etc/sx/models/common_symfony/abstract
|
494
|
+
- bootstrap/etc/sx/models/common_symfony/container/mux
|
495
|
+
- bootstrap/etc/sx/models/common_symfony/container/system_users
|
496
|
+
- bootstrap/etc/sx/models/common_symfony/inherit
|
497
|
+
- bootstrap/etc/sx/models/common_symfony/site/php/flag
|
498
|
+
- bootstrap/etc/sx/models/common_symfony/site/php/user
|
499
|
+
- bootstrap/etc/sx/models/common_symfony/site/use_apache
|
500
|
+
- bootstrap/etc/sx/models/common_xl/abstract
|
501
|
+
- bootstrap/etc/sx/models/common_xl/container/docker/blkio_weight
|
502
|
+
- bootstrap/etc/sx/models/common_xl/container/docker/cpu_shares
|
503
|
+
- bootstrap/etc/sx/models/common_xl/container/docker/memory
|
504
|
+
- bootstrap/etc/sx/models/common_xl/container/docker/memory_swap
|
505
|
+
- bootstrap/etc/sx/models/common_xs/abstract
|
506
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/blkio_weight
|
507
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/cpu_period
|
508
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/cpu_quota
|
509
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/cpu_shares
|
510
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/memory
|
511
|
+
- bootstrap/etc/sx/models/common_xs/container/docker/memory_swap
|
512
|
+
- bootstrap/etc/sx/models/fcgi_l/inherit
|
513
|
+
- bootstrap/etc/sx/models/fcgi_m/inherit
|
514
|
+
- bootstrap/etc/sx/models/fcgi_s/inherit
|
515
|
+
- bootstrap/etc/sx/models/fcgi_xl/inherit
|
516
|
+
- bootstrap/etc/sx/models/joomla_v2_l/inherit
|
517
|
+
- bootstrap/etc/sx/models/joomla_v2_m/inherit
|
518
|
+
- bootstrap/etc/sx/models/joomla_v2_s/inherit
|
519
|
+
- bootstrap/etc/sx/models/joomla_v2_xs/inherit
|
520
|
+
- bootstrap/etc/sx/models/joomla_v3_l/inherit
|
521
|
+
- bootstrap/etc/sx/models/joomla_v3_m/inherit
|
522
|
+
- bootstrap/etc/sx/models/joomla_v3_s/inherit
|
523
|
+
- bootstrap/etc/sx/models/joomla_v3_xs/inherit
|
524
|
+
- bootstrap/etc/sx/models/symfony_l/inherit
|
525
|
+
- bootstrap/etc/sx/models/symfony_m/inherit
|
526
|
+
- bootstrap/etc/sx/models/symfony_xl/inherit
|
527
|
+
- bootstrap/etc/sx/models/test/container/config.rb
|
528
|
+
- bootstrap/etc/sx/models/test/container/config_templates/supervisord.conf.erb
|
529
|
+
- bootstrap/etc/sx/models/test/container/docker/blkio_weight
|
530
|
+
- bootstrap/etc/sx/models/test/container/docker/command
|
531
|
+
- bootstrap/etc/sx/models/test/container/docker/cpu_period
|
532
|
+
- bootstrap/etc/sx/models/test/container/docker/cpu_quota
|
533
|
+
- bootstrap/etc/sx/models/test/container/docker/cpu_shares
|
534
|
+
- bootstrap/etc/sx/models/test/container/docker/image
|
535
|
+
- bootstrap/etc/sx/models/test/container/docker/memory
|
536
|
+
- bootstrap/etc/sx/models/test/container/docker/memory_swap
|
537
|
+
- bootstrap/etc/sx/models/test/container/docker/user.erb
|
538
|
+
- bootstrap/etc/sx/models/test/container/docker/volume.erb
|
539
|
+
- bootstrap/etc/sx/models/test/container/system_users
|
540
|
+
- bootstrap/etc/sx/models/test/site/config.rb
|
541
|
+
- bootstrap/etc/sx/models/test/site/config_templates/nginx_vhost.erb
|
542
|
+
- bootstrap/etc/sx/models/test_with_mux/container/mux
|
543
|
+
- bootstrap/etc/sx/models/test_with_mux/inherit
|
544
|
+
- bootstrap/etc/sx/muxs/base/docker/command
|
545
|
+
- bootstrap/etc/sx/muxs/php-5.3/container/docker/image
|
546
|
+
- bootstrap/etc/sx/muxs/php-5.3/docker/image
|
547
|
+
- bootstrap/etc/sx/muxs/php-5.3/inherit
|
548
|
+
- bootstrap/etc/sx/muxs/php-5.5/container/docker/image
|
549
|
+
- bootstrap/etc/sx/muxs/php-5.5/docker/image
|
550
|
+
- bootstrap/etc/sx/muxs/php-5.5/inherit
|
551
|
+
- bootstrap/etc/sx/muxs/php-5.6/container/docker/image
|
552
|
+
- bootstrap/etc/sx/muxs/php-5.6/docker/image
|
553
|
+
- bootstrap/etc/sx/muxs/php-5.6/inherit
|
554
|
+
- bootstrap/etc/sx/muxs/php/abstract
|
555
|
+
- bootstrap/etc/sx/muxs/php/docker/pid
|
556
|
+
- bootstrap/etc/sx/muxs/php/docker/privileged
|
557
|
+
- bootstrap/etc/sx/muxs/php/docker/volume
|
558
|
+
- bootstrap/etc/sx/muxs/php/site/config.rb
|
559
|
+
- bootstrap/etc/sx/muxs/php/site/config_templates/apache_vhost.erb
|
560
|
+
- bootstrap/etc/sx/muxs/php/site/config_templates/nginx_vhost.erb
|
561
|
+
- bootstrap/etc/sx/muxs/php/site/config_templates/php_fpm_pool.erb
|
562
|
+
- bootstrap/etc/sx/muxs/php/site/php/pm
|
563
|
+
- bootstrap/etc/sx/muxs/php/site/php/pm_max_children
|
564
|
+
- bootstrap/etc/sx/muxs/php/site/use_apache
|
565
|
+
- bootstrap/etc/sx/muxs/test/container/docker/image
|
566
|
+
- bootstrap/etc/sx/muxs/test/docker/command
|
567
|
+
- bootstrap/etc/sx/muxs/test/docker/image
|
568
|
+
- bootstrap/etc/sx/muxs/test/inherit
|
569
|
+
- bootstrap/etc/sx/password_strength
|
570
|
+
- bootstrap/etc/sx/smtp_hostname
|
571
|
+
- dockerfile/almost_base
|
572
|
+
- dockerfile/base
|
573
|
+
- dockerfile/mux
|
260
574
|
- lib/superhosting.rb
|
261
575
|
- lib/superhosting/base.rb
|
262
576
|
- lib/superhosting/cli/base.rb
|
@@ -265,6 +579,7 @@ files:
|
|
265
579
|
- lib/superhosting/cli/cmd/admin_container_delete.rb
|
266
580
|
- lib/superhosting/cli/cmd/admin_container_list.rb
|
267
581
|
- lib/superhosting/cli/cmd/admin_delete.rb
|
582
|
+
- lib/superhosting/cli/cmd/admin_list.rb
|
268
583
|
- lib/superhosting/cli/cmd/admin_passwd.rb
|
269
584
|
- lib/superhosting/cli/cmd/container_add.rb
|
270
585
|
- lib/superhosting/cli/cmd/container_admin_add.rb
|
@@ -272,11 +587,18 @@ files:
|
|
272
587
|
- lib/superhosting/cli/cmd/container_admin_list.rb
|
273
588
|
- lib/superhosting/cli/cmd/container_change.rb
|
274
589
|
- lib/superhosting/cli/cmd/container_delete.rb
|
590
|
+
- lib/superhosting/cli/cmd/container_inspect.rb
|
275
591
|
- lib/superhosting/cli/cmd/container_list.rb
|
276
|
-
- lib/superhosting/cli/cmd/
|
592
|
+
- lib/superhosting/cli/cmd/container_reconfigure.rb
|
593
|
+
- lib/superhosting/cli/cmd/container_rename.rb
|
277
594
|
- lib/superhosting/cli/cmd/container_restore.rb
|
278
595
|
- lib/superhosting/cli/cmd/container_save.rb
|
279
596
|
- lib/superhosting/cli/cmd/container_update.rb
|
597
|
+
- lib/superhosting/cli/cmd/model_list.rb
|
598
|
+
- lib/superhosting/cli/cmd/model_reconfigure.rb
|
599
|
+
- lib/superhosting/cli/cmd/model_tree.rb
|
600
|
+
- lib/superhosting/cli/cmd/model_update.rb
|
601
|
+
- lib/superhosting/cli/cmd/mux_reconfigure.rb
|
280
602
|
- lib/superhosting/cli/cmd/mysql_db_add.rb
|
281
603
|
- lib/superhosting/cli/cmd/mysql_db_delete.rb
|
282
604
|
- lib/superhosting/cli/cmd/mysql_db_dump.rb
|
@@ -284,10 +606,16 @@ files:
|
|
284
606
|
- lib/superhosting/cli/cmd/mysql_grant.rb
|
285
607
|
- lib/superhosting/cli/cmd/mysql_user_add.rb
|
286
608
|
- lib/superhosting/cli/cmd/mysql_user_delete.rb
|
609
|
+
- lib/superhosting/cli/cmd/repair.rb
|
287
610
|
- lib/superhosting/cli/cmd/site_add.rb
|
288
611
|
- lib/superhosting/cli/cmd/site_alias_add.rb
|
289
612
|
- lib/superhosting/cli/cmd/site_alias_delete.rb
|
613
|
+
- lib/superhosting/cli/cmd/site_container.rb
|
290
614
|
- lib/superhosting/cli/cmd/site_delete.rb
|
615
|
+
- lib/superhosting/cli/cmd/site_inspect.rb
|
616
|
+
- lib/superhosting/cli/cmd/site_list.rb
|
617
|
+
- lib/superhosting/cli/cmd/site_name.rb
|
618
|
+
- lib/superhosting/cli/cmd/site_reconfigure.rb
|
291
619
|
- lib/superhosting/cli/cmd/site_rename.rb
|
292
620
|
- lib/superhosting/cli/cmd/user_add.rb
|
293
621
|
- lib/superhosting/cli/cmd/user_change.rb
|
@@ -297,24 +625,52 @@ files:
|
|
297
625
|
- lib/superhosting/cli/error/ambiguous_command.rb
|
298
626
|
- lib/superhosting/cli/error/base.rb
|
299
627
|
- lib/superhosting/cli/error/controller.rb
|
628
|
+
- lib/superhosting/composite_mapper.rb
|
629
|
+
- lib/superhosting/composite_mapper/base.rb
|
630
|
+
- lib/superhosting/composite_mapper/container.rb
|
631
|
+
- lib/superhosting/composite_mapper/site.rb
|
632
|
+
- lib/superhosting/config/net_status.yml
|
633
|
+
- lib/superhosting/config_executor.rb
|
634
|
+
- lib/superhosting/config_executor/base.rb
|
635
|
+
- lib/superhosting/config_executor/container.rb
|
636
|
+
- lib/superhosting/config_executor/site.rb
|
300
637
|
- lib/superhosting/controller/admin.rb
|
301
638
|
- lib/superhosting/controller/admin/container.rb
|
639
|
+
- lib/superhosting/controller/base.rb
|
302
640
|
- lib/superhosting/controller/container.rb
|
303
641
|
- lib/superhosting/controller/container/admin.rb
|
642
|
+
- lib/superhosting/controller/container/states.rb
|
643
|
+
- lib/superhosting/controller/model.rb
|
644
|
+
- lib/superhosting/controller/mux.rb
|
304
645
|
- lib/superhosting/controller/mysql.rb
|
305
646
|
- lib/superhosting/controller/mysql/db.rb
|
306
647
|
- lib/superhosting/controller/mysql/user.rb
|
307
648
|
- lib/superhosting/controller/site.rb
|
308
649
|
- lib/superhosting/controller/site/alias.rb
|
650
|
+
- lib/superhosting/controller/site/states.rb
|
309
651
|
- lib/superhosting/controller/user.rb
|
310
652
|
- lib/superhosting/docker_api.rb
|
653
|
+
- lib/superhosting/helper/cmd.rb
|
654
|
+
- lib/superhosting/helper/config.rb
|
655
|
+
- lib/superhosting/helper/file.rb
|
656
|
+
- lib/superhosting/helper/i18n.rb
|
657
|
+
- lib/superhosting/helper/logger.rb
|
658
|
+
- lib/superhosting/helper/states.rb
|
311
659
|
- lib/superhosting/helpers.rb
|
312
|
-
- lib/superhosting/
|
313
|
-
- lib/superhosting/
|
314
|
-
- lib/superhosting/
|
660
|
+
- lib/superhosting/mapper_inheritance/base.rb
|
661
|
+
- lib/superhosting/mapper_inheritance/model.rb
|
662
|
+
- lib/superhosting/mapper_inheritance/mux.rb
|
663
|
+
- lib/superhosting/patches/path_mapper/dir_node.rb
|
664
|
+
- lib/superhosting/patches/path_mapper/file_node.rb
|
665
|
+
- lib/superhosting/patches/path_mapper/null_node.rb
|
666
|
+
- lib/superhosting/patches/string/punycode.rb
|
315
667
|
- lib/superhosting/version.rb
|
668
|
+
- provision/bootstrap.sh
|
669
|
+
- provision/docker.sh
|
670
|
+
- provision/pam_docker.sh
|
671
|
+
- provision/vagrant.sh
|
316
672
|
- superhosting.gemspec
|
317
|
-
homepage: https://github.com/flant/
|
673
|
+
homepage: https://github.com/flant/superhosting
|
318
674
|
licenses:
|
319
675
|
- MIT
|
320
676
|
metadata: {}
|
@@ -326,7 +682,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
326
682
|
requirements:
|
327
683
|
- - ! '>='
|
328
684
|
- !ruby/object:Gem::Version
|
329
|
-
version:
|
685
|
+
version: 2.2.1
|
330
686
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
331
687
|
requirements:
|
332
688
|
- - ! '>='
|
@@ -334,7 +690,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
334
690
|
version: '0'
|
335
691
|
requirements: []
|
336
692
|
rubyforge_project:
|
337
|
-
rubygems_version: 2.4.
|
693
|
+
rubygems_version: 2.4.3
|
338
694
|
signing_key:
|
339
695
|
specification_version: 4
|
340
696
|
summary: The tool for web hosting using docker containers
|