https://github.com/accessd/tasker
https://github.com/accessd/tasker
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/accessd/tasker
- Owner: accessd
- Created: 2020-11-06T14:26:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-06T17:08:25.000Z (over 4 years ago)
- Last Synced: 2025-01-21T00:04:25.961Z (3 months ago)
- Language: Ruby
- Size: 3.65 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tasker
## DESCRIPTION
Async tasks processor. Tasks: Task1, Task2, Task3, Task4, Task5

## USAGE
Build docker image:
docker build . -t tasker/tasker
Run docker-compose command:
docker-compose up -d
Scale queue processors!
docker-compose up -d --scale queue=4
Generate fake tasks:
docker-compose run api "ruby generate_tasks.rb"
## API
Post new task:
curl -XPOST http://localhost:3000/tasks -d 'task_name=Task1'
Get info for tasks:
curl http://localhost:3000/tasks