aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-19 14:37:43 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-19 14:37:43 +0000
commit607bae14ae05fccf69cd77d4c885c550d2700291 (patch)
tree271e890157b7c55f4b328dd44772c528b60b15fc
parentdaily commit.wip (diff)
downloadmdrtl-607bae14ae05fccf69cd77d4c885c550d2700291.tar.gz
mdrtl-607bae14ae05fccf69cd77d4c885c550d2700291.zip
daily commit.wip
Diffstat (limited to '')
-rw-r--r--Dockerfile4
-rw-r--r--docker-compose.yaml2
-rw-r--r--src/main/java/com/terminaldweller/doc/DocService.java1
3 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 35a9db4..6122c76 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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));
}
/**