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