Configuration
Configure, secure, and monitor a self-hosted Roboflow Inference server - container options, environment variables, HTTPS, input formats, and metrics.
An Inference Server started with inference server start publishes port 9001 on host loopback by default, except for Jetson images and tunnel launches. Custom Python remains available locally, and authentication is opt-in. Start with server security to choose who can reach the server, then configure the features your application needs.
You do not need any of this to run your first model. Come back here when you want to expose the server to other machines, run it in production, pin its resource usage, or watch how it behaves under load.
Tune the container
Docker Configuration Options - ports, CORS, worker counts, NMS defaults, model cache, and the Secure Gateway.
Inference Server Environment Variables: commonly used variables, grouped by area.
Video Configuration: managed pipeline limits, warm workers, and media references.
Harden the server
Securing a Self-Hosted Server: local defaults, network access, authentication, and observability.
Security Configuration Migration: release scope, changed defaults, and upgrade actions.
Model Package Security: per-model authorization, local packages, and package trust.
Serving Inference over HTTPS - terminate TLS with your own certificate, use encrypted keys, and require mutual TLS.
Accepted Input Formats - which payload types the server accepts, and how to disable the riskier ones such as pickled numpy arrays and URL image fetching.
Watch it run
Inference Server Telemetry - Prometheus metrics and Docker container statistics for a running server.
Last updated
Was this helpful?