Sha256: f801c4161f65d453fd92b748d0c604d27b695323cf73fc024061a0fa457a383e
Contents?: true
Size: 876 Bytes
Versions: 2
Compression:
Stored size: 876 Bytes
Contents
set :application, '<%= application_name %>' set :repo_url, "git@gitlab.molinos.ru:studio/#{fetch(:application)}.git" set :config_files, %w[config/database.yml .env] append :linked_files, 'config/database.yml', '.env', 'config/master.key' append :linked_dirs, 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system', 'public/uploads', 'storage' set :rvm_ruby_version, Pathname(__dir__).join('../.ruby-version').read.chomp set :db_local_clean, true set :assets_dir, %w[public/system] set :nginx_server_name, -> { "#{fetch(:domain)} localhost #{fetch(:application)}.local" } set :nginx_upstream_name, -> { "#{fetch(:application)}_#{fetch(:stage)}" } set :nginx_config_name, -> { "#{fetch(:domain)}.conf" } set :nginx_use_ssl, true namespace :deploy do # after :restart, 'systemd:sidekiq:reload-or-restart' after :publishing, :restart end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
adminos-1.0.0.pre.rc.5 | lib/generators/templates/install/deploy.rb.erb |
adminos-1.0.0.pre.rc.4 | lib/generators/templates/install/deploy.rb.erb |