Sha256: 092821480092c1b4a160896eaea4702a54fd1ea8c054ed6c0ff890fbee2de223

Contents?: true

Size: 1011 Bytes

Versions: 1

Compression:

Stored size: 1011 Bytes

Contents

set :deploy_to, '/var/www/dkdeploy'
server 'dkdeploy-core.test', roles: %w[web app backend db], primary: true

# no ssh compression on the dev stage
set :ssh_options, {
  compression: 'none'
}

ssh_key_files = Dir.glob(File.join(Dir.getwd, '..', '..', '.vagrant', 'machines', '**', 'virtualbox', 'private_key'))
unless ssh_key_files.empty?
  # Define generated ssh key files
  set :ssh_options, fetch(:ssh_options).merge(
    {
      user: 'vagrant',
      keys: ssh_key_files
    }
  )
end

set :copy_source, 'htdocs'
set :copy_exclude, %w[
  Gemfile*
  .hidden
  **/.hidden
]

# version file path
set :version_file_path, ''

# default file owner/group for dev stage
set :default_file_access_owner_of_shared_path, 'vagrant'
set :default_file_access_owner_of_release_path, 'vagrant'

set :default_file_access_group_of_shared_path, 'vagrant'
set :default_file_access_group_of_release_path, 'vagrant'

# mysql slow query log for performance analysis
set :mysql_slow_log, '/var/log/mysql-default/slow-queries.log'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dkdeploy-core-9.2.1 spec/fixtures/application/config/deploy/dev.rb