A Docker image to run a standalone instance of Sidekiq Web UI with Puma.
2.0K
A Docker image to run a stand-alone instance of Sidekiq Web UI.
Docker Hub Repo: https://hub.docker.com/r/phlegx/sidekiq-web/
docker build \
--build-arg RUBY_VERSION=3.2.2-slim-buster \
--build-arg SIDEKIQ_VERSION=7.2.0 \
--build-arg SIDEKIQ_CRON_VERSION=1.11.0 \
--build-arg PUMA_VERSION=6.4.0 \
-t sidekiq-web .
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
sidekiq-web
To run the container with Sidekiq Cron:
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
-e SIDEKIQ_CRON=true \
sidekiq-web
To run the container with custom Redis configuration:
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
-e REDIS_DB=1 \
-e REDIS_POOL_SIZE=5 \
-e REDIS_PASSWORD=password \
-e REDIS_DRIVER=ruby \
sidekiq-web
Using Redis Sentinel configuration:
docker run \
-p 3001:9292 \
-e REDIS_SENTINEL_URIS=uri1,uri2,uri3:26379 \
-e REDIS_SENTINEL_PORT=26379 \
-e REDIS_SENTINEL_NAME=mymaster \
-e REDIS_SENTINEL_PASSWORD=password \
-e REDIS_PASSWORD=password \
-e REDIS_DB=1 \
-e REDIS_POOL_SIZE=5 \
-e REDIS_DRIVER=ruby \
sidekiq-web
Default REDIS_DRIVER is set to hiredis.
To run the container with a custom username and password:
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
-e SIDEKIQ_USERNAME=username \
-e SIDEKIQ_PASSWORD=password \
sidekiq-web
To run the container behind a proxy, make sure to set environment variable SCRIPT_NAME so that Sidekiq Web UI can properly construct URLs to the necessary CSS/JS assets:
docker run \
-p 3001:9292 \
-e REDIS_URI=host:6379 \
-e SCRIPT_NAME=/sidekiq \
sidekiq-web
Example compose file:
version: '3'
services:
sidekiq-web:
image: phlegx/sidekiq-web:r3.2-s7
environment:
REDIS_URI: host:6379
REDIS_PASSWORD: password
SIDEKIQ_USERNAME: username
SIDEKIQ_PASSWORD: password
ports:
- 3001:9292
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)The MIT License
Copyright (c) 2023 Phlegx Systems Technologies GmbH
Content type
Image
Digest
sha256:502fa0073…
Size
90.8 MB
Last updated
7 months ago
docker pull phlegx/sidekiq-web