Awesome Open Source
Awesome Open Source


Task Scheduler for Docker Functions

DQ is an amalgamation of the best features of a job scheduler like resque and a serverless platform like AWS lambda. It is meant to be self-hosted and called using REST APIs. All tasks run on docker containers defined in a spec similar to compose called dq.yml


DQ won 4th place in the Docker 1.12 Hackathon


  • Call a background task with arguments [Ex: sending email]
  • Schedule a recurring task [Ex: backing up db]
  • Run a background service that handles HTTP requests and auto scales based on load [voting, spam checking]


To use some features like services, you will need Docker 1.12 or above


  • Create a dq.yml based on the sample in this repo
  • Create a network
    docker network create dq_net
  • Start redis
    docker run -d --name redis --net dq_net redis
  • Start DQ
    -v $(pwd)/dq.yml:/dq/dq.yml -v /var/run/docker.sock:/var/run/docker.sock \


Fork/clone this repo and edit dq.yml

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,091,101
Docker (98,179
Task Scheduler (491
Job Scheduler (409