fastlane is a redis-based queueing service that outsmarts everyone else by using containers.
2.1K
fastlane is a redis-based queueing service that outsmarts everyone else by using containers.
More seriously, though, fastlane allows you to easily implement new workers in the form of containers.
Instead of the tedious, repetitive work of yesteryear where you had to implement a worker in language X or Y, you just spin a new container with all the dependencies you require already previously installed, and instruct fastlane to run a command in that container. Bang! Instant Super-Powered Workers!
*/10 * * * * - every ten minutes);/tasks;/tasks/my-task (<taskUrl>);<taskUrl>/jobs/<jobId> (<jobUrl>);<jobUrl>/stop);<jobUrl>/retry);<jobUrl>/logs), stdout (<jobUrl>/stdout) and stderr (<jobUrl>/stderr) for last execution in jobs;ws://<jobUrl>/ws) and <jobUrl>/stream;<jobUrl>/executions/<executionId> (<executionUrl>);<executionUrl>/stop;<executionUrl>/stdout), stdout (<executionUrl>/stdout) and stderr (<executionUrl>/stderr) for execution;ws://<executionUrl>/ws) and <executionUrl>/stream;X-Real-IP, then X-Forwarded-For, then request.addr);Getting fastlane up and running is very simple if you have both docker and docker-compose installed.
We'll use a sample docker compose that gets all our requirements up (ps: this docker-compose file runs Docker In Docker and requires privileged mode to run):
$ curl https://raw.githubusercontent.com/fastlane-queue/fastlane/master/docker-compose-sample.yml | docker-compose -f - up -d
Starting fastlane...
Creating fastlane_mongo_1 ... done
Creating fastlane_docker-host_1 ... done
Creating fastlane_redis_1 ... done
Creating fastlane_fastlane_1 ... done
fastlane started successfully.
After that you can start using fastlane. For more details on getting started, read the following page.
Read more about fastlane at read the docs.
Logo was created by Artur Sousa.
Fastlane is licensed under the MIT license.
Content type
Image
Digest
Size
183.3 MB
Last updated
over 6 years ago
docker pull heynemann/fastlane