Skip to content

humulabs/rq-scheduler-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rq-scheduler

Docker image of rq-scheduler.

Usage

docker run -d quay.io/humu/rq-scheduler \
  -e RQ_REDIS_URL=http://redis.example.com:6379 \
  -e INTERVAL=30
  /sbin/my_init

The following environment variables are supported. See rq-scheduler doc and code for details:

  • INTERVAL - how often scheduler checks for jobs in float seconds, default: 60
  • RQ_REDIS_HOST - redis host (only if RQ_REDIS_URL not set)
  • RQ_REDIS_PORT - redis port (only if RQ_REDIS_URL not set)
  • RQ_REDIS_DB - redis database number
  • RQ_REDIS_PASSWORD - redis password
  • RQ_REDIS_URL - full URL of redis (in lieu of REDIS_HOST and REDIS_PORT)
  • OPTIONS - other options passed to rq-scheduler (e.g., set to --verbose for debugging)

LICENSE

MIT License

About

docker image that runs rq-scheduler

Resources

License

Stars

Watchers

Forks

Packages

No packages published