Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
5 changes: 4 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ 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:v1
container_name: stego-app
ports:
- "8080:8080"
mem_limit: 2g
environment:
# Connect to the MySQL container
- DATABASE_URL=jdbc:mysql://db-mysql:3306/stego
- DATABASE_USER=user
- 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
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.example</groupId>
<artifactId>spring-project-steganography-tool</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>v1</version>
<name>spring-project-steganography-tool</name>
<description>A powerful and secure steganography tool built with Spring Boot 3</description>
<url>https://github.com/noobdevsam/spring-project-steganography-tool</url>
Expand Down Expand Up @@ -103,7 +103,7 @@
</excludes>
<image>
<name>noobdevsam/${project.artifactId}:${project.version}</name>
<builder>paketobuildpacks/builder-jammy-tiny</builder>
<builder>paketobuildpacks/builder-jammy-base</builder>
<env>
<!-- Configure the buildpack to use Java 25 -->
<BP_JVM_VERSION>${java.version}</BP_JVM_VERSION>
Expand Down