Skip to content

Commit

Permalink
Merge branch '2023081721-updated-routes' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
kirykr committed Aug 17, 2023
2 parents 028741c + 82f7437 commit 7245538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@

if Rails.env.production? || Rails.env.staging?
Sidekiq::Web.use(Rack::Auth::Basic) do |user, password|
[user, password] == ['admin', 'admin@@$$password']
[user, password] == [ENV['SIDEKIQ_USER'], ENV['SIDEKIQ_PASSWORD']]
end
end
end
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ services:
- REDIS_URL=redis://redis:6379/0
- STC_DONOR_NAME=
- FD_DONOR_NAME=
- SIDEKIQ_USER=admin
- SIDEKIQ_PASSWORD=12345
volumes:
- .:/app
ports:
Expand Down

0 comments on commit 7245538

Please sign in to comment.