diff --git a/PRODUCTION_LINODE_MANUAL_SETUP.md b/PRODUCTION_LINODE_MANUAL_SETUP.md index 94e14d0..a91e544 100644 --- a/PRODUCTION_LINODE_MANUAL_SETUP.md +++ b/PRODUCTION_LINODE_MANUAL_SETUP.md @@ -23,7 +23,7 @@ This guide covers setting up your Production Linode for hosting the APP_NAME app - Ubuntu 24.04 LTS Linode with root access - Basic familiarity with Linux commands and SSH -- **Access to a private Docker registry** with authentication credentials +- **Access to a private Harbor registry** with authentication credentials - Docker images already built and pushed to your registry - **Optional**: Domain name pointing to the Production Linode's IP addresses (for SSL/TLS) @@ -498,7 +498,7 @@ This section covers setting up the Production Linode for manual deployment from docker login your-registry.com:port -u YOUR_REGISTRY_USERNAME -p YOUR_REGISTRY_PASSWORD ``` -**What this does**: Authenticates with your private Docker registry to allow pulling images. +**What this does**: Authenticates with your private Harbor registry to allow pulling images. **Expected output**: `Login Succeeded` message. diff --git a/registry/README.md b/registry/README.md index 04c782d..f7092b8 100644 --- a/registry/README.md +++ b/registry/README.md @@ -1,12 +1,12 @@ -# Docker Registry Configuration +# Harbor Registry Configuration -This folder contains the configuration files for the Docker Registry setup used in the CI/CD pipeline. +This folder contains the configuration files for the Harbor Registry setup used in the CI/CD pipeline. ## Files -- `docker-compose.yml` - Docker Compose configuration for registry, registry-ui, and nginx services +- `docker-compose.yml` - Docker Compose configuration for Harbor services - `nginx.conf` - Nginx reverse proxy configuration for SSL termination and routing -- `config.yml` - Docker Registry configuration file +- `harbor.yml` - Harbor configuration file - `README.md` - This file ## Architecture @@ -213,23 +213,6 @@ docker compose ps curl -k https://YOUR_CI_CD_IP:8080/api/v2.0/health ``` -## Migration from Docker Registry - -If migrating from the previous Docker Registry setup: - -1. **Backup existing images**: - ```bash - docker pull YOUR_OLD_REGISTRY/image:tag - ``` - -2. **Push to Harbor**: - ```bash - docker tag YOUR_OLD_REGISTRY/image:tag YOUR_CI_CD_IP:8080/public/image:tag - docker push YOUR_CI_CD_IP:8080/public/image:tag - ``` - -3. **Update CI/CD pipelines** to use new registry URL - ## Resources - [Harbor Documentation](https://goharbor.io/docs/)