Skip to content
Snippets Groups Projects
Commit ff354574 authored by Jan Pokorný's avatar Jan Pokorný :lifter_tone2:
Browse files

Fixing external-app.properties for production

parent ee744dd5
No related branches found
No related tags found
1 merge request!51M4 language school
#TODO Copied base application properties, should be modified for production
server.port=8081
spring.security.oauth2.resourceserver.opaque-token.introspection-uri=https://oidc.muni.cz/oidc/introspect
......@@ -11,13 +10,16 @@ management.health.defaults.enabled=true
management.endpoint.health.probes.enabled=true
spring.jpa.open-in-view=false
spring.h2.console.enabled=true
# disabled in production for security reasons
spring.h2.console.enabled=false
spring.datasource.url=jdbc:h2:mem:school
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
# showing SQL is generally good practice for running project locally to check whether there is not an issue with implementation of JPA methods.
spring.jpa.show-sql=true
# disabled SQL logging in production
spring.jpa.show-sql=false
spring.jackson.property-naming-strategy=LOWER_CAMEL_CASE
spring.cache.type=NONE
appconfig.enablecache=false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment