From 786fbfd8b5441226bcc59daf89410b3ddeb30e06 Mon Sep 17 00:00:00 2001 From: renansoares Date: Tue, 3 May 2016 15:32:22 -0300 Subject: [PATCH] files settings to deploy --- config/deploy.rb | 6 +++--- config/deploy/ufpb.rb | 45 --------------------------------------------- config/examples/Procfile.deployment | 2 -- config/examples/thin.yml | 16 ---------------- 4 files changed, 3 insertions(+), 66 deletions(-) delete mode 100644 config/deploy/ufpb.rb delete mode 100644 config/examples/Procfile.deployment delete mode 100644 config/examples/thin.yml diff --git a/config/deploy.rb b/config/deploy.rb index d1e14bf..61ed24c 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,8 +1,8 @@ # Change these -server '150.165.204.80', port: 22, password: 'l1br4s-l1v3', roles: [:web, :app, :db], primary: true +server '', port: 22, roles: [:web, :app, :db], primary: true -set :repo_url, 'git@git.lavid.ufpb.br:vlibras-web2.git' -set :application, 'vlibras-web2' +set :repo_url, '' +set :application, '' set :user, 'deployer' set :puma_threads, [4, 16] set :puma_workers, 0 diff --git a/config/deploy/ufpb.rb b/config/deploy/ufpb.rb deleted file mode 100644 index 096477e..0000000 --- a/config/deploy/ufpb.rb +++ /dev/null @@ -1,45 +0,0 @@ -# -*- encoding : utf-8 -*- -# Simple Role Syntax -# ================== -# Supports bulk-adding hosts to roles, the primary server in each group -# is considered to be the first unless any hosts have the primary -# property set. Don't declare `role :all`, it's a meta role. - -# role :web, %w{deploy@example.com} - - -# Extended Server Syntax -# ====================== -# This can be used to drop a more detailed server definition into the -# server list. The second argument is a, or duck-types, Hash and is -# used to set extended properties on the server. - -server '150.165.204.80', port: 22, user: 'deployer', password: 'l1br4s-l1v3', roles: %w{web app} - -set :rails_env, 'production' - -# Custom SSH Options -# ================== -# You may pass any option but keep in mind that net/ssh understands a -# limited set of options, consult[net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start). -# -# Global options -# -------------- -# set :ssh_options, { -# keys: %w(/home/rlisowski/.ssh/id_rsa), -# forward_agent: false, -# auth_methods: %w(password) -# } -# -# And/or per server (overrides global) -# ------------------------------------ -# server '150.165.204.80', -# user: 'deployer', -# roles: %w{web}, -# ssh_options: { -# user: 'deployer', # overrides user setting above -# # keys: %w(/home/user_name/.ssh/id_rsa), -# forward_agent: false, -# auth_methods: %w(publickey password), -# password: 'l1br4s-l1v3' -# } diff --git a/config/examples/Procfile.deployment b/config/examples/Procfile.deployment deleted file mode 100644 index 5ff0fce..0000000 --- a/config/examples/Procfile.deployment +++ /dev/null @@ -1,2 +0,0 @@ -web: /home/deploy/.rvm/wrappers/vlibras-web2/bundle exec thin start -C /srv/vlibras-web2/shared/thin.yml -p $PORT -worker: /home/deploy/.rvm/wrappers/vlibras-web2/bundle exec rake jobs:work RAILS_ENV=production diff --git a/config/examples/thin.yml b/config/examples/thin.yml deleted file mode 100644 index a74c5f2..0000000 --- a/config/examples/thin.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -chdir: "/srv/vlibras-web2/current" -environment: production -address: 0.0.0.0 -timeout: 30 -log: "/srv/vlibras-web2/shared/log/thin.log" -pid: "/tmp/pids/thin.pid" -max_conns: 1024 -max_persistent_conns: 100 -require: [] -wait: 30 -threadpool_size: 20 - -# port: 3000 -# servers: 3 -# daemonize: true \ No newline at end of file -- libgit2 0.21.2