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:
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
-
Configure Environment Variables
Edit the environment variables file:
nano /data/coolify/source/.envAdd 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'Define Custom Docker Network with Environment Variables
Configure custom Docker network CIDR blocks and address pools using environment variables during Coolify installation for advanced network setups
Custom Compose Overrides
Customize Coolify's infrastructure containers using a docker-compose.custom.yml file that persists across upgrades
