The content on this page is not yet fully finished.
Tracking issue: https://github.com/WebFreak001/dub-docs-v2/issues/18
As a user you might be interested in configuring DUB registry mirrors for a number of reasons:
- you want to pick mirrors geographically closer to you for better response time and possibly bandwidth
- you are running package mirrors publicly in your region or just for your infrastructure
- you are hosting a private registry
Mirrors are collected from multiple sources:
You can configure registry mirrors on a per-package or system-wide setting.
See the registryUrls setting for more info.
DUB_REGISTRY environment variable
You can set additional registries that are picked up for use from the DUB_REGISTRY environment variable, separated by semicolons.
--registry=VALUE CLI argument
To build the dub-registry project, then clone it and then run
Running as standalone registry
Running in mirror mode
Created: August 5, 2022