Docker
Quick Start
bash
docker pull ghcr.io/codecoradev/covecto:latest
docker run -p 3000:3000 ghcr.io/codecoradev/covecto:latestThe container starts the API server on port 3000 by default.
Docker Compose
yaml
services:
covecto:
image: ghcr.io/codecoradev/covecto:latest
ports:
- "3000:3000"
environment:
- RUST_LOG=info
# Optional resource limits (see API reference)
# - COVECTO_MAX_CONCURRENCY=2
# - COVECTO_MAX_QUEUE=8
# - COVECTO_QUEUE_TIMEOUT_SECS=30
# - COVECTO_UPLOAD_TIMEOUT_SECS=60
# - COVECTO_MAX_DIMENSION=8192
# - COVECTO_SPLINE_MAX_MP=2
restart: unless-stoppedbash
docker compose up -dCLI in a Container
Mount a local directory to vectorize files:
bash
docker run -v $(pwd):/data ghcr.io/codecoradev/covecto:latest \
vectorize /data/input.png -o /data/output.svgHealth Check
The Docker image exposes a health endpoint:
bash
curl http://localhost:3000/v1/healthImage Variants
| Tag | Description |
|---|---|
latest | Latest stable release |
0.2.0 | Pinned version |
0.2 | Latest 0.2.x patch release |
Images are available on GHCR and Docker Hub.
Build from Source
bash
# Multi-stage build (compiles Rust in Docker)
docker build -t covecto .
# Run
docker run -p 3000:3000 covecto