Sidekiq monitor. Includes support for several plugins and Redis options
500K+
This is a simple docker container to monitor sidekiq queues.
The stable tag will be released very conservatively. The latest tag should work fine, but may occasionally break. Production environments should always use the stable release.
REDIS_URL = Redis URL (e.g., redis://redis_local:6379). This will override REDIS_HOST and REDIS_PORT, because the host and port are part of the URL. So, do not set this envrionment variable if you want to use the host/port instead.
REDIS_HOST = Redis hostname only (e.g., redis_local). This can be used in conjunction with REDIS_PORT. When using docker-compose or a stack, this is usually all you'll need to set for the Redis connection (see docker-compose.yml example)
REDIS_PORT = Redis port used with the hostname. This defaults to 6379.
If neither REDIS_URL nor REDIS_HOST are set, it defaults to redis://redis:6379 for common stack/service arrangments.
REDIS_SENTINEL_SERVICE_URL = Optionally use the sentinel service (e.g., redis://sentinel.local).
REDIS_SENTINEL_SERVICE_PORT = Specify the sentinel service port to be used (e.g., 26379). Defaults to 26379 as the standard port.
SIDEKIQ_NAMESPACE = Optionally set a Redis namespace to monitor (e.g., my_namespace)
SIDEKIQ_STATUS = Optionally use the Sidekiq Status plugin. To enable, just set this env variable to enable.
SIDEKIQ_UNIQUE_JOBS = Optionally use the Sidekiq Unique Jobs plugin. To enable, just set this env variable to enable. This idea was borrowed/stolen from @onigra.
SIDEKIQ_FAILURES = Optionally use the Sidekiq Failures plugin. To enable, just set this env variable to enable. This idea was borrowed/stolen from @onigra.
RAILS_ENV = production, development, etc. I believe this just changes the title of the page, so you can differentiate between environments.
This idea was borrowed/stolen from @Hunk13. Optionally add basic auth to the sidekiq monitor. This will only be enabled if both a username and password are set.
SIDEKIQ_USERNAME = Username (e.g., deckard)
SIDEKIQ_PASSWORD = Password (e.g., replicant?TRUE)
Uses the default sidekiq web port 9292 internally
SIDEKIQ_URL = the url to mount the web UI on (default: '/')
docker run -it \
--name sidekiq \
-p 9292:9292 \
-e "REDIS_URL=redis://redis.local" \
-e "SIDEKIQ_NAMESPACE=myapp" \
-e "SIDEKIQ_STATUS=enable" \
-e "REDIS_SENTINEL_SERVICE_URL=redis://sentinel" \
-e "REDIS_SENTINEL_SERVICE_PORT=22666" \
-e "RAILS_ENV=production" \
-e "SIDEKIQ_URL=/admin/queue \
joshjhall/sidekiq-monitor:stable
Content type
Image
Digest
sha256:dfbc5a86d…
Size
59.3 MB
Last updated
about 2 years ago
docker pull joshjhall/sidekiq-monitor:development