Updated Airbrake configs
This commit is contained in:
parent
6f6d0fe74c
commit
a938e31d81
|
@ -12,10 +12,12 @@ common: &common
|
|||
log_server:
|
||||
host: <%= ENV["ABF_WORKER_LOG_SERVER_HOST"] %>
|
||||
port: <%= ENV["ABF_WORKER_LOG_SERVER_PORT"] %>
|
||||
airbrake:
|
||||
api_key: <%= ENV["AIRBRAKE_API_KEY"] %>
|
||||
host: <%= ENV["AIRBRAKE_HOST"] %>
|
||||
keys:
|
||||
key_pair_secret_key: <%= ENV["KEY_PAIR_SECRET_KEY"] %>
|
||||
node_instruction_secret_key: <%= ENV["NODE_INSTRUCTION_SECRET_KEY"] %>
|
||||
airbrake_api_key: <%= ENV["AIRBRAKE_API_KEY"] %>
|
||||
secret_token: <%= ENV["SECRET_TOKEN"] %>
|
||||
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
||||
devise:
|
||||
|
|
|
@ -12,10 +12,12 @@ common: &common
|
|||
log_server:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
airbrake:
|
||||
api_key: 'airbrake_api_key'
|
||||
host: 'errbit.example.com'
|
||||
keys:
|
||||
key_pair_secret_key: 'key_pair_secret_key'
|
||||
node_instruction_secret_key: 'node_instruction_secret_key'
|
||||
airbrake_api_key: 'airbrake_api_key'
|
||||
devise_pepper: 'e295a79fb7966e94a6e8b184ba65791a'
|
||||
secret_token: 'e295a79fb7966e94a6e8b184ba65791a'
|
||||
devise:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
require 'airbrake'
|
||||
|
||||
Airbrake.configure do |config|
|
||||
config.api_key = APP_CONFIG['keys']['airbrake_api_key']
|
||||
config.host = 'errbit.rosalinux.ru'
|
||||
config.api_key = APP_CONFIG['airbrake']['api_key']
|
||||
config.host = APP_CONFIG['airbrake']['host']
|
||||
config.port = 80
|
||||
config.secure = config.port == 443
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue