From 948d4eefd613ae01c162e085b054e941d45fc24c Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 24 May 2026 13:38:25 +0530 Subject: [PATCH 1/9] Update compose.yml --- compose.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/compose.yml b/compose.yml index 9ff0dc6..79992c8 100644 --- a/compose.yml +++ b/compose.yml @@ -5,22 +5,40 @@ services: image: shaikmustafa/automation:db ports: - "3306:3306" - deploy: - replicas: 3 networks: - mynetwork + volumes: + - dbdata:/yaswanth + deploy: + replicas: 3 + application: - image: shaikmustafa/automation:app + iimage: shaikmustafa/paytm:movie + restart: always ports: - "1111:8080" - deploy: - replicas: 3 - depends_on: - - devopsdb networks: - mynetwork + volumes: + - appdata:/yash + deploy: + resources: + limits: + cpus: "0.7" + memory: 256M + reservations: + cpus: "0.25" + memory: 64M + replicas: 3 + networks: mynetwork: driver: overlay + +volumes: + appdata: + dbdata: + + From 3ba994715e51869696874c613e11a12484d683b9 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 24 May 2026 14:40:36 +0530 Subject: [PATCH 2/9] Update compose.yml --- compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index 79992c8..948f442 100644 --- a/compose.yml +++ b/compose.yml @@ -2,7 +2,7 @@ version: "3.9" services: devopsdb: - image: shaikmustafa/automation:db + image: saiyaswanth76/automation:db ports: - "3306:3306" networks: @@ -14,7 +14,7 @@ services: application: - iimage: shaikmustafa/paytm:movie + iimage: saiyaswanth76/automation:app restart: always ports: - "1111:8080" From b473ecd0ee70eae4edf4b9d6a7387b41e9fea5dd Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 24 May 2026 14:42:34 +0530 Subject: [PATCH 3/9] Update compose.yml --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 948f442..d6905d5 100644 --- a/compose.yml +++ b/compose.yml @@ -14,7 +14,7 @@ services: application: - iimage: saiyaswanth76/automation:app + image: saiyaswanth76/automation:app restart: always ports: - "1111:8080" From 5ee89d65e0291713ae25e39fa57d7a2d21a4d783 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 24 May 2026 14:51:35 +0530 Subject: [PATCH 4/9] Update compose.yml --- compose.yml | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/compose.yml b/compose.yml index d6905d5..28c41bf 100644 --- a/compose.yml +++ b/compose.yml @@ -5,40 +5,22 @@ services: image: saiyaswanth76/automation:db ports: - "3306:3306" - networks: - - mynetwork - volumes: - - dbdata:/yaswanth deploy: replicas: 3 - + networks: + - mynetwork application: image: saiyaswanth76/automation:app - restart: always ports: - "1111:8080" - networks: - - mynetwork - volumes: - - appdata:/yash deploy: - resources: - limits: - cpus: "0.7" - memory: 256M - reservations: - cpus: "0.25" - memory: 64M replicas: 3 - + depends_on: + - devopsdb + networks: + - mynetwork networks: mynetwork: driver: overlay - -volumes: - appdata: - dbdata: - - From b5f0d6aea4d6e563770e1baad69dd81400e06ad1 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 24 May 2026 15:37:24 +0530 Subject: [PATCH 5/9] Update compose.yml --- compose.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index 28c41bf..a47ae48 100644 --- a/compose.yml +++ b/compose.yml @@ -6,9 +6,17 @@ services: ports: - "3306:3306" deploy: - replicas: 3 + resources: + limits: + cpus: "0.5" + memory: 128M + reservations: + cpus: "0.25" + replicas: 1 # Reduced to 1 to prevent DB split-brain networks: - mynetwork + volumes: + - database:/data application: image: saiyaswanth76/automation:app @@ -16,11 +24,17 @@ services: - "1111:8080" deploy: replicas: 3 - depends_on: - - devopsdb + # depends_on: # Commented out as Swarm ignores this + # - devopsdb networks: - mynetwork + volumes: + - appdata:/yash networks: mynetwork: driver: overlay + +volumes: + database: + appdata: From 9a403922e065577e8487bf375997c9c282261266 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Tue, 7 Jul 2026 13:26:23 +0530 Subject: [PATCH 6/9] Update app-deployment.yml --- manifests/app-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/app-deployment.yml b/manifests/app-deployment.yml index 281d8a3..d642f55 100644 --- a/manifests/app-deployment.yml +++ b/manifests/app-deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cont-1 - image: mustafaflm.azurecr.io/app:128 + image: saiyaswanth76/k8s-1:appimage ports: - containerPort: 8080 imagePullSecrets: From 32628fcf316c1dca368b32cf688c57121eeb2134 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Tue, 7 Jul 2026 13:27:04 +0530 Subject: [PATCH 7/9] Update db-deployment.yml --- manifests/db-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/db-deployment.yml b/manifests/db-deployment.yml index 52c4313..80964ce 100644 --- a/manifests/db-deployment.yml +++ b/manifests/db-deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cont-1 - image: mustafaflm.azurecr.io/db:129 + image: saiyaswanth76/k8s-1:dbimage ports: - containerPort: 3306 imagePullSecrets: From 8a426386425d865fb45ae62cf3bdb311146357a8 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 26 Jul 2026 13:30:38 +0530 Subject: [PATCH 8/9] Update app-deployment.yml --- manifests/app-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/app-deployment.yml b/manifests/app-deployment.yml index d642f55..b8b4e49 100644 --- a/manifests/app-deployment.yml +++ b/manifests/app-deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cont-1 - image: saiyaswanth76/k8s-1:appimage + image: saiyaswanth76/k8s01:appimage ports: - containerPort: 8080 imagePullSecrets: From 4c9c426e26a024966bb0b08836a5b40edbc27779 Mon Sep 17 00:00:00 2001 From: sai633101-dev Date: Sun, 26 Jul 2026 13:31:01 +0530 Subject: [PATCH 9/9] Update db-deployment.yml --- manifests/db-deployment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/db-deployment.yml b/manifests/db-deployment.yml index 80964ce..b6e9054 100644 --- a/manifests/db-deployment.yml +++ b/manifests/db-deployment.yml @@ -15,7 +15,7 @@ spec: spec: containers: - name: cont-1 - image: saiyaswanth76/k8s-1:dbimage + image: saiyaswanth76/k8s01:dbimage ports: - containerPort: 3306 imagePullSecrets: