#77 Fixed compose, added docs
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.1
|
||||
|
||||
### Fixed
|
||||
|
||||
- Persistence mapping in Docker (#77)
|
||||
|
||||
## 1.0.0
|
||||
|
||||
### Added
|
||||
|
||||
@@ -21,7 +21,7 @@ RUN mvn -B package -DskipTests
|
||||
FROM openjdk:17-jdk-slim
|
||||
|
||||
# Copy the jar file from the build stage
|
||||
COPY --from=build /app/target/easydrop-1.0.0.jar /easydrop.jar
|
||||
COPY --from=build /app/target/easydrop-1.0.1.jar /easydrop.jar
|
||||
|
||||
# Execute the application when the docker container starts.
|
||||
ENTRYPOINT ["java", "-jar", "/easydrop.jar"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# EasyDrop
|
||||
|
||||

|
||||

|
||||

|
||||
[](https://sonar.fbe-adswen.rwu.de/dashboard?id=de.rwu%3Aeasydrop)
|
||||

|
||||
@@ -22,6 +22,7 @@ Set up the required configuration files, use the corresponding demo files for or
|
||||
|
||||
- `config/config.properties` for API authorization
|
||||
- `products-config.json` to define product catalogues to use for dropshipping
|
||||
- Run `touch persistence.db` to create a file to host the database
|
||||
|
||||
Create the container
|
||||
|
||||
|
||||
@@ -6,7 +6,9 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: easydrop:1.0.0
|
||||
image: easydrop:1.0.1
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./persistence.db:/persistence.db
|
||||
- type: bind
|
||||
source: ./persistence.db
|
||||
target: /persistence.db
|
||||
|
||||
Reference in New Issue
Block a user