From 06e5294f3f9bb4b4d3a55a1fb5dd9727fb8ce73d Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Thu, 21 May 2026 12:17:42 +0530 Subject: [PATCH 01/10] Create Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..e2944852 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,2 @@ +FROM nginx:latest +COPY . /usr/share/nginx/html From 50053312aaa80877a950384d9c2d0e94d740b571 Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Thu, 21 May 2026 16:44:42 +0530 Subject: [PATCH 02/10] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e2944852..e31b5d8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,3 @@ FROM nginx:latest COPY . /usr/share/nginx/html +EXPOSE 80 From f04ec8718ae95bccce88a09fc150c166263d4b2d Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Fri, 12 Jun 2026 12:02:30 +0530 Subject: [PATCH 03/10] Create inventory --- inventory | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 inventory diff --git a/inventory b/inventory new file mode 100644 index 00000000..9624ed17 --- /dev/null +++ b/inventory @@ -0,0 +1,2 @@ +[servers] +localhost ansible_connection=local From 1e7343c11dc3b0bc1557f660c44c277e4dc3ea7b Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Fri, 12 Jun 2026 12:02:58 +0530 Subject: [PATCH 04/10] Create deploy.yml --- deploy.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 deploy.yml diff --git a/deploy.yml b/deploy.yml new file mode 100644 index 00000000..7ad4d08a --- /dev/null +++ b/deploy.yml @@ -0,0 +1,16 @@ +--- +- hosts: servers + become: true + tasks: + + - name: Stop old container + shell: docker rm -f myapp || true + + - name: Remove old image (optional) + shell: docker rmi your-dockerhub/app:latest || true + + - name: Build new image locally + shell: docker build -t your-dockerhub/app:latest /var/lib/jenkins/workspace/your-job-name + + - name: Run container + shell: docker run -d -p 80:80 --name myapp your-dockerhub/app:latest From 5ca4b81f02accaee9cf2b630628b2cff24cdc326 Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Fri, 12 Jun 2026 12:37:23 +0530 Subject: [PATCH 05/10] Update deploy.yml --- deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/deploy.yml b/deploy.yml index 7ad4d08a..7d98e876 100644 --- a/deploy.yml +++ b/deploy.yml @@ -1,16 +1,12 @@ --- - hosts: servers - become: true tasks: - name: Stop old container shell: docker rm -f myapp || true - - name: Remove old image (optional) - shell: docker rmi your-dockerhub/app:latest || true - - - name: Build new image locally - shell: docker build -t your-dockerhub/app:latest /var/lib/jenkins/workspace/your-job-name + - name: Pull latest image + shell: docker pull venkatsaireddy/app:latest - name: Run container - shell: docker run -d -p 80:80 --name myapp your-dockerhub/app:latest + shell: docker run -d -p 80:80 --name myapp venkatsaireddy/app:latest From a043f193a9b8afe0d216a66b6c55d372f948f83a Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Fri, 12 Jun 2026 12:42:01 +0530 Subject: [PATCH 06/10] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index a9d35eca..27a365d3 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@

Contact

- + From 4b091a629dc9229e3165c4f31860710d48ff526a Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Mon, 15 Jun 2026 13:34:57 +0530 Subject: [PATCH 07/10] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 27a365d3..4fc85d4f 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@

Contact

- + From 16333b3b36c28117e1d9b9340597704f1ed08819 Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Tue, 23 Jun 2026 14:57:01 +0530 Subject: [PATCH 08/10] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 4fc85d4f..98958a70 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@

Contact

- + From ee46e55d4669bbea58ad0cb1d7db665a76cced0c Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Tue, 23 Jun 2026 14:59:52 +0530 Subject: [PATCH 09/10] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 98958a70..7dbf7845 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@

About

I'am Marlon

-

Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptate cum expedita quo culpa tempora, assumenda, quis fugiat ut voluptates soluta, aut earum nemo recusandae cumque perferendis! Recusandae alias accusamus atque.

+

Lorem, ipsum and chaghfyfdolor sit amet consectetur adipisicing elit. Voluptate cum expedita quo culpa tempora, assumenda, quis fugiat ut voluptates soluta, aut earum nemo recusandae cumque perferendis! Recusandae alias accusamus atque.

From e2474f60e14145dbbb872fbf2ee88660b9256047 Mon Sep 17 00:00:00 2001 From: venkatsai655 Date: Tue, 23 Jun 2026 15:01:17 +0530 Subject: [PATCH 10/10] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 7dbf7845..9acdb239 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@

About

I'am Marlon

-

Lorem, ipsum and chaghfyfdolor sit amet consectetur adipisicing elit. Voluptate cum expedita quo culpa tempora, assumenda, quis fugiat ut voluptates soluta, aut earum nemo recusandae cumque perferendis! Recusandae alias accusamus atque.

+

Lorem, ipsum and the changes are chaghfyfdolor sit amet consectetur adipisicing elit. Voluptate cum expedita quo culpa tempora, assumenda, quis fugiat ut voluptates soluta, aut earum nemo recusandae cumque perferendis! Recusandae alias accusamus atque.