Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit f21ec51

Browse files
authored
Merge pull request #58 merge from branch 26 - 3
2 parents 1507556 + eb8100c commit f21ec51

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

compose.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ services:
1616
- stego-network
1717

1818
# Application Service
19-
app:
19+
stego-app:
2020
# Use the image built by the Spring Boot Maven plugin
21-
image: docker.io/noobdevsam/spring-project-steganography-tool:v2
21+
image: docker.io/noobdevsam/spring-project-steganography-tool:v1
2222
container_name: stego-app
2323
ports:
2424
- "8080:8080"
@@ -33,8 +33,9 @@ services:
3333
# Other environment variables as needed
3434
- JAVA_TOOL_OPTIONS=-XX:MaxRAMPercentage=75.0
3535
volumes:
36-
# Mount the local storage directory into the container to persist files
37-
- storage_data:/app/storage
36+
# Mount the local './storage' directory into the container.
37+
# This makes it easy to see generated files on your host machine.
38+
- ./storage:/app/storage
3839
networks:
3940
- stego-network
4041
depends_on:
@@ -47,5 +48,3 @@ networks:
4748
volumes:
4849
mysql_data:
4950
driver: local
50-
storage_data:
51-
driver: local

pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>com.example</groupId>
1212
<artifactId>spring-project-steganography-tool</artifactId>
13-
<version>v2</version>
13+
<version>v1</version>
1414
<name>spring-project-steganography-tool</name>
1515
<description>A powerful and secure steganography tool built with Spring Boot 3</description>
1616
<url>https://github.com/noobdevsam/spring-project-steganography-tool</url>
@@ -103,10 +103,13 @@
103103
</excludes>
104104
<image>
105105
<name>noobdevsam/${project.artifactId}:${project.version}</name>
106-
<builder>paketobuildpacks/builder-jammy-base</builder>
106+
<builder>paketobuildpacks/builder-jammy-tiny</builder>
107107
<env>
108108
<!-- Configure the buildpack to use Java 25 -->
109109
<BP_JVM_VERSION>${java.version}</BP_JVM_VERSION>
110+
<!-- Run the app with user/group 1000 to match host user permissions on mounted volumes -->
111+
<BP_USER_ID>1000</BP_USER_ID>
112+
<BP_GROUP_ID>1000</BP_GROUP_ID>
110113
</env>
111114
</image>
112115
</configuration>

0 commit comments

Comments
 (0)