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