ConfigurationRegistries
HARBOR
The harbor registry lets you configure a self-hosted Harbor integration.

The harbor registry lets you configure a self-hosted Harbor integration.
Variables
| Env var | Required | Description | Supported values | Default value when missing |
|---|---|---|---|---|
DD_REGISTRY_HARBOR_{REGISTRY_NAME}_URL | 🔴 | Registry URL (e.g. https://harbor.acme.com) | ||
DD_REGISTRY_HARBOR_{REGISTRY_NAME}_LOGIN | ⚪ | Harbor username | DD_REGISTRY_HARBOR_{REGISTRY_NAME}_PASSWORD must be defined | |
DD_REGISTRY_HARBOR_{REGISTRY_NAME}_PASSWORD | ⚪ | Harbor password | DD_REGISTRY_HARBOR_{REGISTRY_NAME}_LOGIN must be defined | |
DD_REGISTRY_HARBOR_{REGISTRY_NAME}_AUTH | ⚪ | Base64 encoded login:password string | DD_REGISTRY_HARBOR_{REGISTRY_NAME}_LOGIN/PASSWORD must not be defined |
Examples
Configure for anonymous access
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_REGISTRY_HARBOR_PRIVATE_URL=https://harbor.acme.comdocker run \
-e "DD_REGISTRY_HARBOR_PRIVATE_URL=https://harbor.acme.com" \
...
codeswhat/drydockConfigure with credentials
services:
drydock:
image: codeswhat/drydock
...
environment:
- DD_REGISTRY_HARBOR_PRIVATE_URL=https://harbor.acme.com
- DD_REGISTRY_HARBOR_PRIVATE_LOGIN=john
- DD_REGISTRY_HARBOR_PRIVATE_PASSWORD=doedocker run \
-e "DD_REGISTRY_HARBOR_PRIVATE_URL=https://harbor.acme.com" \
-e "DD_REGISTRY_HARBOR_PRIVATE_LOGIN=john" \
-e "DD_REGISTRY_HARBOR_PRIVATE_PASSWORD=doe" \
...
codeswhat/drydock