Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Latest commit

 

History

History
36 lines (29 loc) · 2.29 KB

README.md

File metadata and controls

36 lines (29 loc) · 2.29 KB

EveMonk Sidekiq

RSpec DeepSource Ruby Style Guide

Service container for running sidekiq web UI from sidekiq.

Configure

Environment variable Description Default Default in container
RAILS_ENV Rails environment development production
SECRET_KEY_BASE Rails secret not set not set
WEB_CONCURRENCY Number of CPU not set not set
RAILS_MAX_THREADS Rails max threads 3 as default
DATABASE_URL Database configuration. Example: postgres://user:password@localhost/database not set not set
REDIS_URL Redis configuration for sidekiq. Example: redis://redis:6379/1 not set not set

Example docker-compose.yml

NOTE: Don't forget to close sidekiq web ui with web auth. E.g. for devise. Or with http auth in web server/proxy before.

services:
  sidekiq-web-ui:
    image: "docker.io/biow0lf/evemonk-sidekiq:main"
    container_name: "evemonk_sidekiq_web_ui"
    restart: "unless-stopped"
    environment:
      SECRET_KEY_BASE: "secret-key-base" # run `rails secret` for generate new
      DATABASE_URL: "postgres://user:password@localhost/database"
      REDIS_URL: "redis://redis:6379/1"
      RAILS_MAX_THREADS: "1"