Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Newspapers Platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labs-team
Newspapers Platform
Commits
082930b8
Commit
082930b8
authored
2 years ago
by
smayer
Browse files
Options
Downloads
Patches
Plain Diff
Add environment variables for sidekiq and db services
parent
5d21e59f
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Merging development into onb as preparation for Annolyzer release
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/database.yml
+1
-1
1 addition, 1 deletion
config/database.yml
config/initializers/sidekiq.rb
+1
-1
1 addition, 1 deletion
config/initializers/sidekiq.rb
with
2 additions
and
2 deletions
config/database.yml
+
1
−
1
View file @
082930b8
...
...
@@ -6,7 +6,7 @@
#
default
:
&default
adapter
:
postgresql
host
:
localhost
host
:
<%= ENV.fetch('NEP_DB_HOSTNAME', '
localhost
') %>
port
:
5432
encoding
:
utf8
pool
:
5
...
...
This diff is collapsed.
Click to expand it.
config/initializers/sidekiq.rb
+
1
−
1
View file @
082930b8
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment