Coolify logoCoolify

Custom Docker Registry

If you would like to get Coolify's images from dockerhub instead of the default ghcr.io, you can do it by setting the REGISTRY_URL environment variable to docker.io.

Registry URL (REGISTRY_URL)

  • Valid values: docker.io & ghcr.io.

Automated Installation Method

  1. Run Installation Command

    Execute the automated installation script with your prepared credentials:

    env REGISTRY_URL=docker.io bash -c 'curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash'

    View the Scripts Source Code

The installation script must be run as root. If you're not logged in as root, the script will use sudo to elevate privileges.

sudo -E env REGISTRY_URL=docker.io bash -c 'curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash'

Manual Installation Method

  1. Configure Environment Variables

    Edit the environment variables file:

    nano /data/coolify/source/.env

    Add the following variables with your prepared credentials:

    REGISTRY_URL=docker.io

Switch after installation

If you want to switch the registry after installation, you can do it by running the following command:

env REGISTRY_URL=docker.io bash -c 'curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash'

The installation script must be run as root. If you're not logged in as root, the script will use sudo to elevate privileges.

sudo -E env REGISTRY_URL=docker.io bash -c 'curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash'

On this page