If you have an old Sidekiq, but want to use most recent version of Sidekiq Web UI.
- Alpine
- Ruby 3
- Sidekiq 7+
- HTTP Basic Auth support
Run with docker-compose -f docker-compose.yml up
version: '3.8'
services:
redis:
image: redis:7.0.5-alpine
ports:
- 6379:6379
volumes:
- db/REDIS:/data
sidekiq_web:
image: iamteacher/sidekiq:web.arm64
environment:
REDIS_URL: redis://redis:6379
SIDEKIQ_USER: admin
SIDEKIQ_PASSWORD: admin
ports:
- 3030:3030
Now Web UI is available on http://localhost:3030
- Defailt value of
SIDEKIQ_USER
isadmin
- Defailt value of
SIDEKIQ_PASSWORD
isadmin
docker run \
-p 3030:3030 \
-e REDIS_URL=redis://redis:6379 \
-e SIDEKIQ_USER=admin \
-e SIDEKIQ_PASSWORD=admin \
iamteacher/sidekiq
- Sidekiq iteself must be run in a container with your application. This container provides only Web UI which can be started separately only by having an access to Redis.
- Sidekiq does not support Redis Client Namespaces anymore. You should not use
namespace
option in your application.
Sidekiq.configure_client do |config|
config.redis = {
url: redis_url,
namespace: 'my-app-namespace' # <<< must be removed
}
end