Docker Compose
Docker Compose를 통해 Roboflow inference server를 다른 Docker 컨테이너와 함께 실행해 멀티 컨테이너 애플리케이션을 구축합니다.
# Roboflow Inference Service를 Docker Compose 서비스로 실행"
services:
roboflow-inference-service:
image: roboflow/inference-server:cpu
ports:
- "9001:9001"
# 필요에 따라 여기에 다른 컨테이너나 서비스를 추가할 수도 있습니다,
# 아래 예시를 통해 설명합니다;
# 따라서 애플리케이션에 필요한 만큼 roboflow inference
# service와 여러 서비스를 "compose"할 수 있습니다
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
마지막 업데이트
도움이 되었나요?