Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Commit

Permalink
deploy fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
JPiotr committed Nov 5, 2023
1 parent 322b3cb commit c3446bb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.oblitus</groupId>
<artifactId>service-app</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
<name>ServiceApp</name>
<description>Service Track Backend</description>
<properties>
Expand Down
32 changes: 16 additions & 16 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c3446bb

Please sign in to comment.