Light workloads
0.25 vCPU
128 MiB RAM
A compact allocation for small HTTP responses.
Platform / Connector
The Connector runs beside your app, connects out to LayerV, and carries approved traffic. What it needs to run in production, typically in Docker: CPU, memory, storage, network, and the deployment steps.
Sharing an app from your own machine? Use the qURL™ CLI →
Confirm your infrastructure can run the Connector.
| Requirement | Detail |
|---|---|
| Host | Linux Docker host with permission to create containers and persistent storage. [1][2] |
| OS & CPU | Docker with 64-bit Linux containers. The released image includes linux/amd64 (x86-64) and linux/arm64. Docker selects the matching platform from the multi-platform image digest. [8] Measured v2.5.3 image manifest. |
| GPU | None required. [14] |
| Diagnostics | The Connector image contains no shell or package manager. Use host tools for diagnostics. [1] |
Plan the storage the Connector container needs on the host.
| Storage | Starting allocation | Detail |
|---|---|---|
| Image cache | 128 MiB | Planning allowance for the measured v2.5.3 image plus a second copy during an update. Check the image size again when selecting a newer release. Measured Docker image storage: arm64 39.4 MiB; amd64 43.8 MiB. This excludes Docker’s own data and your app image. Image details. |
| Persistent state | 1 GiB per deployment | Suggested starting allowance, not measured state consumption. Mount persistent state at /var/lib/qurl and pass that path as --state-dir. Monitor disk use. Keep it across restarts and upgrades. [2][3] |
| Temporary files | 64 MiB maximum | Mount /tmp as memory-backed storage with size=64m. This is a ceiling, not a permanent 64 MiB allocation, and it shares the container RAM budget. [2][11] |
| Container logs | 3 files × 10 MB | Use Docker’s JSON logging driver with max-size=10m and max-file=3 for a bounded local starting policy. This is separate from persistent state; use your log platform for longer retention. [10] |
Choose a starting allocation for the Connector container. These allocations were tested on Linux AMD64 and ARM64 with the same controlled workload. [14]
Light workloads
128 MiB RAM
A compact allocation for small HTTP responses.
Recommended starting point
256 MiB RAM
Start here for more CPU and memory headroom.
Additional capacity
512 MiB RAM
A larger budget as your deployment grows.
Sizing notesThese are planning allocations, not production capacity guarantees. The tests exercise the Connector runtime with small responses, loopback networking, and scripted admission; they do not measure the complete deployed service or live enrollment. Load-test your deployment before production. Payload size, concurrent connections, and sustained request rate affect resource use. Temporary files share the RAM budget. Reserve separate capacity for Linux, Docker, your app, and other containers. [7]
Configure the image, security settings, runtime limits, and lifecycle behavior.
| Configuration | Detail |
|---|---|
| Container image | ghcr.io/layervai/qurl, published in GitHub Container Registry. This public image contains the Connector runtime. Configure the container to run the service with daemon run; the image alone does not start or enroll a Connector. No source build is required. Pin an approved release digest in your deployment manifest. [9] [1] |
| Runtime user | UID/GID 65532:65532. Use a read-only root filesystem, --cap-drop=ALL, and --security-opt=no-new-privileges:true. A privileged container is not required. [1][2] |
| Persistent state | Create the Docker state directory with owner 65532:65532 and mode 0700. Store it on persistent storage and treat it as secret material. Give each independent deployment its own state directory. [2] |
| Process & file limits | Start with --pids-limit=512 and --ulimit nofile=4096:4096. These are tested allocations; increase them if your measured workload needs more. [2] [14] |
| Restart behavior | Use --restart=unless-stopped or your orchestrator’s restart policy. If you use --network container:APP_CONTAINER, recreate the Connector with the new app container’s network namespace when you replace the app container. [2] |
The Connector opens a reverse tunnel to LayerV and forwards approved requests to your app. Do not publish the app port just to make the Connector work. An app port you already expose still needs to be closed separately. [2][6]
| Connection | Destination | Requirement |
|---|---|---|
| DNS | Your configured resolver | Resolve the API, Hub, and assigned tunnel endpoints. [4][6] |
| Outbound HTTPS (TCP 443) | api.layerv.ai | Allow account and sharing-state requests to the configured qURL API endpoint. Use the endpoint for your deployment environment. [15] |
| Outbound UDP 443 | hub.nhp.layerv.ai and assigned NHP cells | Direct UDP for admission and registration. An HTTP-only proxy is not sufficient. Use the endpoint and trust settings for your deployment environment. [4] |
| Outbound TCP tunnel | Assigned server host and port | Allow direct TCP to the endpoint returned by authenticated admission. Do not assume its port is 443 or hard-code an address copied from another deployment. UDP and TCP must use the same source-IP egress path. [6][12][13] |
| Local HTTP | Your app’s localhost port | With --network container:APP_CONTAINER, the app and Connector share a network namespace. The configured HTTP port must accept connections there. [2] |
| Image downloads | Container registry | The Docker host must be able to pull the pinned image. This is host access for installation and updates, separate from the running Connector’s tunnel. [9] |
Bandwidth must cover the application traffic carried through the Connector. There is no fixed Mbps requirement independent of payload size and request rate. Include any additional endpoints required by your account setup or optional cloud key provider.
Pull the approved image, prepare its inputs, start the Connector, and verify the route.
qurl-image.txt with the immutable image reference. Review the release, then pin that reference in Docker, Compose, or your orchestrator. [9]This example pulls release v3.5.0. It downloads the image without starting a service.docker pull ghcr.io/layervai/qurl@sha256:361b597963844bce729aa17ba8fa5490dc2b11723a35e412e626ee532c4e4d5b65532:65532 and mode 0700, and keep it on persistent storage across restarts and upgrades. [2]NoteKeep state. Remove the one-time enrollment secret after a verified warm start. First startup uses the supplied enrollment-token file. Follow the documented transition: remove the token argument, verify a warm start with saved state, then remove the secret mount and delete the secret. [5]
Review the Connector container release assets on the container releases page. Deploy the exact image digest approved for your deployment pipeline. The specification sources record the versions behind each measurement.
CPU and RAM sizing basis (Markdown download) · Container image manifest