Compose Based Deployment
Here we'll deploy our pipeline in the Docker Container using compose.
Pre-requisites:
- Jenkins Server for running pipelines
 - Hashicorp Vault for storing secrets
 - Docker Swarm (This could be your localhost as well)
 - Make cli for running Makefile
 
Setting up the Pipeline
Clone the repository
git clone https://github.com/SamagraX-RCW/devops.git
Run the scripts to install Docker Ansible and Vault Cli
chmod +x ./scripts/setup.sh
./scripts/setup.sh
Install and Start Jenkins Service
chmod +x ./scripts/jenkins_init.sh
./scripts/jenkins_init.sh

Install recommended plugins and restart Jenkins
sudo systemctl restart jenkins


Now run the compose file to deploy Registry, Nginx and Vault
docker compose up -d

Start RCW Services
make start