[deploy] config

This commit is contained in:
2018-01-01 20:42:55 +03:00
parent f1156d0779
commit 7209a297d7
4 changed files with 34 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
role :app, %w{94.130.110.9}
role :web, %w{94.130.110.9}
role :db, %w{94.130.110.9}
# host = '94.130.110.9'
host = 'shmyga.ru'
role :app, host
role :web, host
role :db, host
user = fetch(:user)
server '94.130.110.9', ssh_options: { port: 22, user: user, forward_agent: true }
server host, ssh_options: { port: 22, user: user, forward_agent: true }
set :tmp_dir, "/home/#{user}/tmp"
set :branch, 'master'