X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/84eb1208d02378c60c84a8c9b67fccc51f92cc58..49d953403625ca145081f9ccd914e70d49e51d49:/services/api/config/environments/production.rb.example diff --git a/services/api/config/environments/production.rb.example b/services/api/config/environments/production.rb.example index 2ac0822a23..ac6ce1b8ed 100644 --- a/services/api/config/environments/production.rb.example +++ b/services/api/config/environments/production.rb.example @@ -47,6 +47,8 @@ Server::Application.configure do # Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false + config.action_mailer.raise_delivery_errors = true + config.action_mailer.perform_deliveries = true # Enable threaded mode # config.threadsafe! @@ -58,28 +60,4 @@ Server::Application.configure do # Send deprecation notices to registered listeners config.active_support.deprecation = :notify - config.git_repositories_dir = '/var/cache/git' - - config.crunch_job_wrapper = :slurm_immediate - config.crunch_job_user = 'crunch' # if false, do not set uid when running jobs - - # config.dnsmasq_conf_dir = '/etc/dnsmasq.d' - - # config.compute_node_ami = 'ami-cbca41a2' - # config.compute_node_security_group = 'arvados-compute' - # config.compute_node_spot_bid = 0.11 - - # config.compute_node_domain = `hostname --domain`.strip - - # config.compute_node_nameservers = ['1.2.3.4', '1.2.3.5'] - require 'net/http' - config.compute_node_nameservers = ['local', 'public'].collect do |iface| - Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0] - end << '172.16.0.23' - - config.uuid_prefix = Digest::MD5.hexdigest('cfi-aws-0').to_i(16).to_s(36)[0..4] # '9ujm1' - - # Authentication stub: hard code pre-approved API tokens. - # config.accept_api_token = { rand(2**256).to_s(36) => true } - config.accept_api_token = {} end