From c3446bbbf3a908d2869bd78e22c4e00b7e5206e3 Mon Sep 17 00:00:00 2001 From: Oblitus Date: Sun, 5 Nov 2023 11:02:22 +0100 Subject: [PATCH] deploy fix version --- Dockerfile | 2 +- pom.xml | 2 +- src/main/resources/application.properties | 32 +++++++++++------------ stack.yaml | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 742e0ca..b1ba36d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:19-jdk-alpine LABEL maintainer="oblitus" EXPOSE 8080 -ARG JAR_FILE=target/service-app-1.4.0.jar +ARG JAR_FILE=target/service-app-1.4.1.jar ADD ${JAR_FILE} app.jar ENTRYPOINT ["java","-jar","/app.jar"] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 1fa72a4..1fb72a7 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ com.oblitus service-app - 1.4.0 + 1.4.1 ServiceApp Service Track Backend diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 136a711..d6ec3ad 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,29 +1,29 @@ #front end # -#spring.sql.init.mode=always -#spring.sql.init.platform=postgres -#spring.datasource.url=jdbc:postgresql://postgres/service_app -##spring.datasource.url=jdbc:postgresql://localhost:5432/service_app -#spring.datasource.username=service_app -#spring.datasource.password=serviceapp14 -#spring.jpa.hibernate.ddl-auto=create -#spring.boot.admin.client.url=http://adminServer:8081 - -#dev env -spring.main.allow-circular-references = true spring.sql.init.mode=always spring.sql.init.platform=postgres -spring.datasource.url=jdbc:postgresql://localhost:5123/serviceApp -spring.datasource.username=serviceApp -spring.datasource.password=ServiceApp$$14 +spring.datasource.url=jdbc:postgresql://postgres/service_app +#spring.datasource.url=jdbc:postgresql://localhost:5432/service_app +spring.datasource.username=service_app +spring.datasource.password=serviceapp14 +spring.jpa.hibernate.ddl-auto=create +spring.boot.admin.client.url=http://adminServer:8081 + +#dev env +#spring.main.allow-circular-references = true +#spring.sql.init.mode=always +#spring.sql.init.platform=postgres +#spring.datasource.url=jdbc:postgresql://localhost:5123/serviceApp +#spring.datasource.username=serviceApp +#spring.datasource.password=ServiceApp$$14 # spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.show_sql = true logging.level.org.hibernate.SQL=DEBUG logging.level.org.hibernate.type.descriptor.sql=TRACE -spring.jpa.hibernate.ddl-auto=create-drop -spring.boot.admin.client.url=http://localhost:8081 +#spring.jpa.hibernate.ddl-auto=create-drop +#spring.boot.admin.client.url=http://localhost:8081 #Inf diff --git a/stack.yaml b/stack.yaml index 5f676a7..e4f8f41 100644 --- a/stack.yaml +++ b/stack.yaml @@ -6,7 +6,7 @@ services: ports: - '8081:8081' serviceApp: - image: serviceapp-server:1.4.0 + image: serviceapp-server:1.4.1 restart: always ports: - '8080:8080'