Skip to content
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}_AUTH⚪Base64-encoded login:password stringDD_REGISTRY_FORGEJO_{REGISTRY_NAME}_LOGIN/PASSWORD must not be defined
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_CAFILE⚪Path to custom CA certificate file
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_INSECURE⚪Allow insecure (non-TLS) connectionstrue, falsefalse
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_CLIENTCERT⚪Path to client certificate file for mTLS
DD_REGISTRY_FORGEJO_{REGISTRY_NAME}_CLIENTKEY⚪Path to client key file for mTLSDD_REGISTRY_FORGEJO_{REGISTRY_NAME}_CLIENTCERT must be defined

Examples

Configure

services:
  drydock:
    image: codeswhat/drydock:v1.5.2
    ...
    environment:
      - DD_REGISTRY_FORGEJO_PRIVATE_URL=https://forgejo.acme.com
      - DD_REGISTRY_FORGEJO_PRIVATE_LOGIN=john
      - DD_REGISTRY_FORGEJO_PRIVATE_PASSWORD=doe