You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	add inference
This commit is contained in:
		| @@ -500,6 +500,7 @@ A collection of delicious docker recipes. | ||||
| - [x] danielgatis/rembg | ||||
| - [x] datarhei/restreamer | ||||
| - [x] restic/rest-server | ||||
| - [x] roboflow/roboflow-inference-server-cpu | ||||
| - [x] rocker/rstudio | ||||
| - [x] rocket.chat | ||||
| - [x] rundeck/rundeck | ||||
|   | ||||
							
								
								
									
										24
									
								
								inference/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								inference/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| inference | ||||
| ========= | ||||
|  | ||||
| [Inference][1] turns any computer or edge device into a command center for your computer vision projects. | ||||
|  | ||||
| ```bash | ||||
| $ docker compose up -d | ||||
|  | ||||
| $ curl -X POST "http://localhost:9001/infer/workflows/roboflow-docs/model-comparison" \ | ||||
|        -H "Content-Type: application/json" \ | ||||
|        -d '{ | ||||
|                "api_key": "<YOUR API KEY -- REMOVE THIS LINE IF NOT FILLING>", | ||||
|                "inputs": { | ||||
|                    "image": { | ||||
|                        "type": "url", | ||||
|                        "value": "https://media.roboflow.com/workflows/examples/bleachers.jpg" | ||||
|                    }, | ||||
|                    "model1": "yolov8n-640", | ||||
|                    "model2": "yolov11n-640" | ||||
|                } | ||||
|            }' | ||||
| ``` | ||||
|  | ||||
| [1]: https://github.com/roboflow/inference/tree/main | ||||
							
								
								
									
										15
									
								
								inference/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								inference/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| services: | ||||
|   inference: | ||||
|     image: roboflow/roboflow-inference-server-cpu:latest | ||||
|     ports: | ||||
|     - "9001:9001" | ||||
|     volumes: | ||||
|     - ./data:/tmp:rw | ||||
|     security_opt: | ||||
|     - no-new-privileges | ||||
|     cap_drop: | ||||
|     - ALL | ||||
|     cap_add: | ||||
|     - NET_BIND_SERVICE | ||||
|     read_only: true | ||||
|     restart: unless-stopped | ||||
		Reference in New Issue
	
	Block a user