DrydockDrydock
ConfigurationRegistriesForgejo

FORGEJO

The forgejo registry lets you configure a self-hosted Forgejo integration.

logo

The forgejo registry lets you configure a self-hosted Forgejo integration.

Variables

Env varRequiredDescriptionSupported valuesDefault value when missing
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_URL🔴Registry URL (e.g. https://forgejo.acme.com)
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_LOGIN🔴Forgejo usernameDD_REGISTRY_FORGEJO_{REGISTRY_NAME}_PASSWORD must be defined
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_PASSWORD🔴Forgejo password or personal access tokenDD_REGISTRY_FORGEJO_{REGISTRY_NAME}_LOGIN must be defined
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_AUTHHtpasswd string (when htpasswd auth is enabled on the registry)DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_LOGIN/TOKEN must not be defined

Examples

Configure

services:
  drydock:
    image: codeswhat/drydock
    ...
    environment:
      - DD_REGISTRY_FORGEJO_PRIVATE_URL=https://forgejo.acme.com
      - DD_REGISTRY_FORGEJO_PRIVATE_LOGIN=john
      - DD_REGISTRY_FORGEJO_PRIVATE_PASSWORD=doe
docker run \
  -e "DD_REGISTRY_FORGEJO_PRIVATE_URL=https://forgejo.acme.com" \
  -e "DD_REGISTRY_FORGEJO_PRIVATE_LOGIN=john" \
  -e "DD_REGISTRY_FORGEJO_PRIVATE_PASSWORD=doe" \
  ...
  codeswhat/drydock

On this page