Make sure IP address and app name placeholders are replaced
Some checks are pending
CI/CD Pipeline / Test Backend (push) Waiting to run
CI/CD Pipeline / Test Frontend (push) Waiting to run
CI/CD Pipeline / Build and Push Docker Images (push) Blocked by required conditions
CI/CD Pipeline / Deploy to Production (push) Blocked by required conditions

This commit is contained in:
continuist 2025-06-28 22:52:24 -04:00
parent 0f4f8e4770
commit 66e641c3b7

View file

@ -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. **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 ```bash
# Switch to SERVICE_USER (registry directory owner) # 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" docker-compose.yml
sed -i "s/YOUR_CI_CD_IP/$YOUR_ACTUAL_IP/g" nginx.conf 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 SERVICE_USER shell
exit 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 #### 5.5 Install Required Tools