diff --git a/README.md b/README.md index 749393e40c04b9cb0f7f36c95927f0527ab593ae..12a91cff85306a406387009087001c5684c964da 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -**Steps to setup E2E deployment using Jenkins, Ansible, Docker Swarm** +# Steps to setup E2E deployment using Jenkins, Ansible, Docker Swarm **Pre-Requisite:** Dockerfile for the service should be there. @@ -9,13 +9,15 @@ The following steps are to be followed with some modifications. -- During Jenkins installation, after copying the jobs **chown** the **/var/lib/jenkins/jobs/** to **jenkins user** +- During Jenkins installation, after copying the jobs `chown` the `/var/lib/jenkins/jobs/` to `jenkins` user - In the elastic search configuration, update the elastic search file as per your cluster needs -- In the Install **Docker Compose** section, run **docker swarm init** before issuing other commands +- In the Install `Docker Compose` section, run `docker swarm init` before issuing other commands - When the Jenkins is up and ready to go, we have to take care of the following -- Update **“docker-serverâ€** URL in Jenkins Jobs to pull and push images in build jobs +- Update `docker-server` URL in Jenkins Jobs to pull and push images in build jobs - Add ssh keys for your server from the Jenkins server before using ansible playbooks + +- Add `sudo` to Jenkins deploy jobs commands in `Configure Jobs` section. - Populate the environment variables for ansible-playbooks in Deploy jobs of Jenkins - Update the Nginx conf files according to the services of your application