Docker Compose
अपने multi-container application को Docker Compose के माध्यम से बनाने के लिए Roboflow inference server को अन्य docker containers के साथ चलाएँ।
# Roboflow Inference Service को Docker Compose service के रूप में चलाएँ"
services:
roboflow-inference-service:
image: roboflow/inference-server:cpu
ports:
- "9001:9001"
# वैकल्पिक रूप से, यहाँ कोई भी अन्य containers या services जोड़ें जिनकी आपको आवश्यकता हो,
# जैसा कि नीचे दिए गए इस उदाहरण में दिखाया गया है;
# ताकि आप roboflow inference के साथ कई services को "compose" कर सकें
# service, जैसा कि आपके application को आवश्यकता हो
another-container-service:
image: curlimages/curl:8.00.1
entrypoint:
- /bin/ash
- -c
- |
while true; do
curl -s -X GET http://roboflow-inference-service:9001
sleep 5;
done
depends_on:
- roboflow-inference-service
अंतिम अपडेट
क्या यह उपयोगी था?