Skip to content
Snippets Groups Projects
Commit 082930b8 authored by smayer's avatar smayer
Browse files

Add environment variables for sidekiq and db services

parent 5d21e59f
No related branches found
No related tags found
1 merge request!2Merging development into onb as preparation for Annolyzer release
......@@ -6,7 +6,7 @@
#
default: &default
adapter: postgresql
host: localhost
host: <%= ENV.fetch('NEP_DB_HOSTNAME', 'localhost') %>
port: 5432
encoding: utf8
pool: 5
......
Sidekiq.configure_server do |config|
config.redis = {
url: ENV.fetch("SIDEKIQ_REDIS_URL", "redis://redis:6379/1")
url: ENV.fetch("REDIS_URL", "redis://localhost:6379/1")
}
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment