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
Run Installation Command
Execute the automated installation script with your prepared credentials:
bashenv REGISTRY_URL=docker.io bash -c 'curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash'
View the Scripts Source Code
INFO
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
Configure Environment Variables
Edit the environment variables file:
bashnano /data/coolify/source/.env
Add the following variables with your prepared credentials:
bashREGISTRY_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'
INFO
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'