To install BRIX AI in an isolated environment using Docker Swarm, you need a private image registry accessible within that environment. We recommend using Harbor.
This article explains how to install Harbor on Ubuntu Server using self-signed TLS certificates.
Prerequisites for Harbor
Before installing Harbor, make sure your system meets the following requirements:
- Ubuntu Server 18.04+ or a similar Linux distribution.
- At least 4 GB RAM, 2 CPU cores, and 40 GB disk space.
- Installed Docker and Docker Compose.
- Root or sudo privileges.
- A configured hostname or domain for Harbor, such as harbor.server or registry.example.com.
Step 1. Install Harbor
Download the installer files, fill in the configuration file, and run the installation. To learn more, see Installing Harbor.
Step 2. Create a project for BRIX AI
- Log in to the Harbor web interface.
- Click New Project.
- In the Project Name field, enter elma-cortex.
- In the Access Level field, select Private.
- Click Create.
Step 3. Add the certificate to trusted certificates on client machines
On any client machine that will push or pull images from this Harbor instance:
- Copy the root CA certificate ca.crt to the client machine from which you will push or pull images.
- Create a folder for Docker certificates:
sudo mkdir -p /etc/docker/certs.d/harbor.server
- Copy the certificate to the Docker directory:
sudo cp ca.crt /etc/docker/certs.d/harbor.server/
- Restart Docker to apply the changes:
sudo systemctl restart docker
- Verify that you can log in to Harbor:
docker login harbor.server