diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-19 14:37:43 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-19 14:37:43 +0000 |
commit | 607bae14ae05fccf69cd77d4c885c550d2700291 (patch) | |
tree | 271e890157b7c55f4b328dd44772c528b60b15fc | |
parent | daily commit.wip (diff) | |
download | mdrtl-607bae14ae05fccf69cd77d4c885c550d2700291.tar.gz mdrtl-607bae14ae05fccf69cd77d4c885c550d2700291.zip |
daily commit.wip
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | docker-compose.yaml | 2 | ||||
-rw-r--r-- | src/main/java/com/terminaldweller/doc/DocService.java | 1 |
3 files changed, 4 insertions, 3 deletions
@@ -15,5 +15,5 @@ RUN gradle bootJar --no-daemon FROM eclipse-temurin:11-jre-alpine COPY --from=certbuilder /certs /certs WORKDIR /springapp -COPY --from=builder /home/springapp/build/libs/src.jar ./src.jar -ENTRYPOINT ["java", "-jar", "/springapp/src.jar"] +COPY --from=builder /home/springapp/build/libs/rtlmd.jar ./rtlmd.jar +ENTRYPOINT ["java", "-jar", "/springapp/rtlmd.jar"] diff --git a/docker-compose.yaml b/docker-compose.yaml index 27bb3d0..dd4939a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -13,6 +13,8 @@ services: environment: - DOCKER_DEPLOYMENT_TYPE=deployment # restart: unless-stopped + depends_on: + - postgres postgres: image: postgres:14-alpine networks: diff --git a/src/main/java/com/terminaldweller/doc/DocService.java b/src/main/java/com/terminaldweller/doc/DocService.java index 90fd9df..b682087 100644 --- a/src/main/java/com/terminaldweller/doc/DocService.java +++ b/src/main/java/com/terminaldweller/doc/DocService.java @@ -17,7 +17,6 @@ public class DocService { public List<Doc> getDocs() { return docRepository.findAll(); - // return List.of(new Doc(1L, "loco", 0L)); } /** |