From 66e641c3b7403348049f596054f092dce03867f6 Mon Sep 17 00:00:00 2001 From: continuist Date: Sat, 28 Jun 2025 22:52:24 -0400 Subject: [PATCH] Make sure IP address and app name placeholders are replaced --- CI_CD_PIPELINE_SETUP_GUIDE.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CI_CD_PIPELINE_SETUP_GUIDE.md b/CI_CD_PIPELINE_SETUP_GUIDE.md index 8682aed..411cc51 100644 --- a/CI_CD_PIPELINE_SETUP_GUIDE.md +++ b/CI_CD_PIPELINE_SETUP_GUIDE.md @@ -501,7 +501,7 @@ sudo mv /tmp/auth.htpasswd /etc/registry/auth/auth.htpasswd **Note**: Pull operations are public and don't require authentication, but push operations require these credentials. -#### 5.4 Update Configuration with Actual IP Address +#### 5.4 Update Configuration with Actual IP Address and Application Name ```bash # Switch to SERVICE_USER (registry directory owner) @@ -517,11 +517,14 @@ echo "Your IP address is: $YOUR_ACTUAL_IP" sed -i "s/YOUR_CI_CD_IP/$YOUR_ACTUAL_IP/g" docker-compose.yml sed -i "s/YOUR_CI_CD_IP/$YOUR_ACTUAL_IP/g" nginx.conf +# Replace placeholder application name in configuration files +sed -i "s/APP_NAME/ACTUAL_APP_NAME/g" docker-compose.yml + # Exit SERVICE_USER shell exit ``` -**Important**: This step replaces all instances of `YOUR_CI_CD_IP` with your actual CI/CD Linode IP address in both the docker-compose.yml and nginx.conf files in the repository. +**Important**: This step replaces all instances of `YOUR_CI_CD_IP` with your actual CI/CD Linode IP address and all instances of `APP_NAME` with the actual application name in both the docker-compose.yml and nginx.conf files in the repository. #### 5.5 Install Required Tools