mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
New example: Distributed task queue
Adds an example of using Kubernetes to build a distributed task queue using Celery along with a RabbitMQ broker and Flower frontend. Resolves: #1788
This commit is contained in:
9
examples/celery-rabbitmq/celery-app-add/Dockerfile
Normal file
9
examples/celery-rabbitmq/celery-app-add/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM dockerfile/celery
|
||||
|
||||
ADD celery_conf.py /data/celery_conf.py
|
||||
ADD run_tasks.py /data/run_tasks.py
|
||||
ADD run.sh /usr/local/bin/run.sh
|
||||
|
||||
ENV C_FORCE_ROOT 1
|
||||
|
||||
CMD ["/bin/bash", "/usr/local/bin/run.sh"]
|
||||
Reference in New Issue
Block a user