Skip to content

Commit

Permalink
KOGITO-7676: Inrorporating comments
Browse files Browse the repository at this point in the history
  • Loading branch information
akumar074 committed Nov 16, 2022
1 parent 3a93cfc commit 412fea7
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
postgres-compose:
image: postgres:9.6
image: postgres:10
environment:
POSTGRES_PASSWORD: pass
ports:
Expand All @@ -28,4 +28,4 @@ services:

networks:
postgres-compose-network:
driver: bridge
driver: bridge
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ quarkus.swagger-ui.always-include=true
kogito.persistence.type=jdbc

quarkus.datasource.db-kind=postgresql
quarkus.datasource.username=postgres
quarkus.datasource.password=changeme
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/jdbc_test
quarkus.datasource.username=kogito-user
quarkus.datasource.password=kogito-pass
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/kogito



Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ kogito.persistence.type=postgresql

quarkus.datasource.username=kogito-user
quarkus.datasource.password=kogito-pass
quarkus.datasource.jdbc.url=jdbc://localhost:5432/kogito
quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/kogito

#run create tables scripts
quarkus.flyway.migrate-at-start=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
postgres-compose:
image: postgres:9.6
image: postgres:10
environment:
POSTGRES_PASSWORD: pass
ports:
Expand All @@ -29,4 +29,4 @@ services:

networks:
postgres-compose-network:
driver: bridge
driver: bridge
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
server.address=0.0.0.0

#run create tables scripts during the application startup
kogito.persistence.auto.ddl=true
spring.flyway.enabled=true
spring.flyway.baseline-on-migrate=true

#jdbc
kogito.persistence.type=jdbc
spring.datasource.url=jdbc:postgresql://localhost:5432/jdbc_test
spring.datasource.username=postgres
spring.datasource.password=changeme
spring.datasource.url=jdbc:postgresql://localhost:5432/kogito
spring.datasource.username=kogito-user
spring.datasource.password=kogito-pass
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ kogito.persistence.type=postgresql
#Details https://www.postgresql.org/docs/9.6/static/libpq-connect.html#LIBPQ-CONNSTRING
kogito.persistence.postgresql.connection.uri=postgresql://kogito-user:kogito-pass@localhost:5432/kogito

spring.datasource.url=jdbc:postgresql://localhost:5432/kogito
spring.datasource.username=kogito-user
spring.datasource.password=kogito-pass
#run create tables scripts during the application startup
spring.flyway.enabled=true
spring.flyway.baseline-on-migrate=true
Expand Down

0 comments on commit 412fea7

Please sign in to comment.