Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#278 fix to properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh Patel committed Mar 2, 2021
1 parent dd2bbde commit b6bbfcd
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions ocl-fhir-ts/src/main/resources/application.properties
@@ -1,23 +1,13 @@
# Datasource Properties
#spring.datasource.url=${DATABASE_URL}
#spring.datasource.username=${DATABASE_USERNAME}
#spring.datasource.password=${DATABASE_PASSWORD}
#spring.jpa.database-platform=${DATABASE_DIALECT}
#server.port=${SERVER_PORT}
#ocl.servlet.baseurl=${OCL_SERVLET_BASEURL}
#oclapi.host=${OCLAPI_HOST}
#oclapi.port=${OCLAPI_PORT}

#spring.datasource.url=jdbc:postgresql://db/postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=postgres
spring.datasource.password=Postgres123
spring.jpa.database-platform=org.hibernate.dialect.ProgressDialect
server.port=8080
ocl.servlet.baseurl=http://localhost:8080/fhir
oclapi.host=localhost
oclapi.port=8000

spring.datasource.url=${DATABASE_URL}
spring.datasource.username=${DATABASE_USERNAME}
spring.datasource.password=${DATABASE_PASSWORD}
spring.jpa.database-platform=${DATABASE_DIALECT}
server.port=${SERVER_PORT}
ocl.servlet.baseurl=${OCL_SERVLET_BASEURL}
oclapi.host=${OCLAPI_HOST}
oclapi.port=${OCLAPI_PORT}

# JPA hibernate properties
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.show_sql=false
Expand Down

0 comments on commit b6bbfcd

Please sign in to comment.