PageRenderTime 40ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/config/deploy.rb

https://bitbucket.org/gorsknsk/green
Ruby | 44 lines | 11 code | 12 blank | 21 comment | 0 complexity | 53d4c12078f203b4e600b7235068799f MD5 | raw file
  1. # config valid for current version and patch releases of Capistrano
  2. lock "~> 3.10.1"
  3. set :application, "tea"
  4. set :repo_url, "git@bitbucket.org:gorsknsk/green-tea.git"
  5. # Default branch is :master
  6. # set :branch, 'default' #`git rev-parse --abbrev-ref HEAD`.chomp
  7. # Default deploy_to directory is /var/www/my_app_name
  8. set :deploy_to, "/home/ubuntu/tea"
  9. # Default value for :format is :airbrussh.
  10. # set :format, :airbrussh
  11. # You can configure the Airbrussh format using :format_options.
  12. # These are the defaults.
  13. # set :format_options, command_output: true, log_file: "log/capistrano.log", color: :auto, truncate: :auto
  14. # Default value for :pty is false
  15. # set :pty, true
  16. # Default value for :linked_files is []
  17. append :linked_files, "./.env.development", "./.env.production"
  18. # Default value for linked_dirs is []
  19. append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public"
  20. set :puma_threads, [0, 8]
  21. set :puma_workers, 1
  22. set :nginx_config_name, 'tea_application'
  23. set :nginx_server_name, 'tea.lifeshoes.ru'
  24. append :rbenv_map_bins, 'puma', 'pumactl'
  25. # Default value for default_env is {}
  26. # set :default_env, { path: "/opt/ruby/bin:$PATH" }
  27. # Default value for local_user is ENV['USER']
  28. # set :local_user, -> { `git config user.name`.chomp }
  29. # Default value for keep_releases is 5
  30. # set :keep_releases, 5
  31. # Uncomment the following to require manually verifying the host key before first deploy.
  32. # set :ssh_options, verify_host_key: :secure