X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c0e2292b4ed0065448e11fe3ecd7b0ee8c87ff4b..bd11c0a9ff6ce23f0992af11d7dc7aef32860e22:/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 f4d23ed7c7..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,30 +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 = {} - - config.new_users_are_active = false end