From a7630a63c5f9e3cbfd24c0ecc61f7257566b42f4 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:25:43 +0600 Subject: [PATCH 1/8] fix: update Docker image reference to include docker.io prefix --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index e21241b..8026ba0 100644 --- a/compose.yml +++ b/compose.yml @@ -18,7 +18,7 @@ services: # Application Service app: # Use the image built by the Spring Boot Maven plugin - image: noobdevsam/spring-project-steganography-tool:0.0.1-SNAPSHOT + image: docker.io/noobdevsam/spring-project-steganography-tool:0.0.1-SNAPSHOT container_name: stego-app ports: - "8080:8080" From 7ad97bb93dae35bf615854e57adaf90131b1f94a Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:33:34 +0600 Subject: [PATCH 2/8] feat: add JVM memory configuration to Docker Compose --- compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose.yml b/compose.yml index 8026ba0..757fbe7 100644 --- a/compose.yml +++ b/compose.yml @@ -23,6 +23,10 @@ services: ports: - "8080:8080" environment: + # --- JVM Memory Configuration --- + # Set initial and maximum heap size for the JVM + - JAVA_TOOL_OPTIONS=-Xms512m -Xmx2g + # Connect to the MySQL container - DATABASE_URL=jdbc:mysql://db-mysql:3306/stego - DATABASE_USER=user From ad5982e680ed3d29f7816ebd183a8e408352947f Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:41:56 +0600 Subject: [PATCH 3/8] refactor: remove JVM memory configuration from Docker Compose --- compose.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/compose.yml b/compose.yml index 757fbe7..8026ba0 100644 --- a/compose.yml +++ b/compose.yml @@ -23,10 +23,6 @@ services: ports: - "8080:8080" environment: - # --- JVM Memory Configuration --- - # Set initial and maximum heap size for the JVM - - JAVA_TOOL_OPTIONS=-Xms512m -Xmx2g - # Connect to the MySQL container - DATABASE_URL=jdbc:mysql://db-mysql:3306/stego - DATABASE_USER=user From 17a5d46d3a1ad16e4d3b6ee8ad1217fcdf0bf771 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:42:30 +0600 Subject: [PATCH 4/8] fix: remove docker.io prefix from image reference in Docker Compose --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 8026ba0..e21241b 100644 --- a/compose.yml +++ b/compose.yml @@ -18,7 +18,7 @@ services: # Application Service app: # Use the image built by the Spring Boot Maven plugin - image: docker.io/noobdevsam/spring-project-steganography-tool:0.0.1-SNAPSHOT + image: noobdevsam/spring-project-steganography-tool:0.0.1-SNAPSHOT container_name: stego-app ports: - "8080:8080" From f2f69d6dcf294697658b17838c49922c6da27e95 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:52:24 +0600 Subject: [PATCH 5/8] feat: add memory limit and Java options to Docker Compose configuration --- compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yml b/compose.yml index e21241b..bb1a587 100644 --- a/compose.yml +++ b/compose.yml @@ -22,6 +22,7 @@ services: container_name: stego-app ports: - "8080:8080" + mem_limit: 2g environment: # Connect to the MySQL container - DATABASE_URL=jdbc:mysql://db-mysql:3306/stego @@ -29,6 +30,8 @@ services: - DATABASE_PASSWORD=password # Point storage inside the container to the mounted volume - STORAGE_BASE_PATH=/app/storage + # Other environment variables as needed + - JAVA_TOOL_OPTIONS=-XX:MaxRAMPercentage=75.0 volumes: # Mount the local storage directory into the container to persist files - storage_data:/app/storage From 7d2bfb1bd1650380b395cc64b9bbc1c4bce15e58 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:57:21 +0600 Subject: [PATCH 6/8] fix: update project version to 'latest' and change Docker builder to 'jammy-base' --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index eb707d4..73d221d 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.example spring-project-steganography-tool - 0.0.1-SNAPSHOT + latest spring-project-steganography-tool A powerful and secure steganography tool built with Spring Boot 3 https://github.com/noobdevsam/spring-project-steganography-tool @@ -103,7 +103,7 @@ noobdevsam/${project.artifactId}:${project.version} - paketobuildpacks/builder-jammy-tiny + paketobuildpacks/builder-jammy-base ${java.version} From a3a8489fff689963f14fae5cf9d473b485ae7c04 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 18:58:08 +0600 Subject: [PATCH 7/8] fix: update Docker image reference to use 'latest' tag --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index bb1a587..dee004e 100644 --- a/compose.yml +++ b/compose.yml @@ -18,7 +18,7 @@ services: # Application Service app: # Use the image built by the Spring Boot Maven plugin - image: noobdevsam/spring-project-steganography-tool:0.0.1-SNAPSHOT + image: docker.io/noobdevsam/spring-project-steganography-tool:latest container_name: stego-app ports: - "8080:8080" From 4ba1618d30276b9d9c9f1e6a4a0644ce85796ac7 Mon Sep 17 00:00:00 2001 From: noobdevsam Date: Thu, 9 Oct 2025 19:02:36 +0600 Subject: [PATCH 8/8] fix: update Docker image and project version to use 'v1' --- compose.yml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose.yml b/compose.yml index dee004e..89c7b58 100644 --- a/compose.yml +++ b/compose.yml @@ -18,7 +18,7 @@ services: # Application Service app: # Use the image built by the Spring Boot Maven plugin - image: docker.io/noobdevsam/spring-project-steganography-tool:latest + image: docker.io/noobdevsam/spring-project-steganography-tool:v1 container_name: stego-app ports: - "8080:8080" diff --git a/pom.xml b/pom.xml index 73d221d..aca70e1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.example spring-project-steganography-tool - latest + v1 spring-project-steganography-tool A powerful and secure steganography tool built with Spring Boot 3 https://github.com/noobdevsam/spring-project-steganography-tool