Install postvec-server
A running node serves gRPC on 33333 and TLS discovery on 22222. It is the inference host for remote mode. Embedded mode runs the engine inside the PostgreSQL process. Point PostgreSQL at the node with Connect PostgreSQL, or attach a managed database with managed PostgreSQL.
| Method | Choose it when |
|---|---|
| Docker | You want the bundled MiniLM model and no host setup. The container generates its own certificate at start |
| Packages | You want the systemd unit, the packaged configuration file and upgrades through apt or dnf |
| From source | You need a build the packages do not ship, such as a GPU build, or you work on the code |
The image and the packages carry the CPU build. A GPU node is a source build with the ort-cuda or ort-tensorrt Cargo feature; see From source.
The Docker image pairs with the remote PostgreSQL image in quick start remote.
License
postvec-server is Business Source License 1.1 (source-available). Personal production use, non-production environments and a 30-day production evaluation per organization are free. Production use by an organization needs postvec pro. The extension, CLI, runtime, model packages and PostgreSQL images stay under the PostgreSQL License. License.