Files
danbooru/config/deploy/production.rb
evazion 9b57631046 capistrano: fix newrelic deployment tagging.
Override the appname in config/newrelic.yml so that we don't
accidentally tag deployments under the wrong app.
2019-08-12 19:20:33 -05:00

13 lines
398 B
Ruby

set :user, "danbooru"
set :rails_env, "production"
set :rbenv_path, "/home/danbooru/.rbenv"
append :linked_files, ".env.production"
server "kagamihara", :roles => %w(web app), :primary => true
server "shima", :roles => %w(web app)
server "saitou", :roles => %w(web app)
server "oogaki", :roles => %w(worker)
set :newrelic_appname, "Danbooru"
after "deploy:finished", "newrelic:notice_deployment"