Skip to content
Snippets Groups Projects
Select Git revision
  • 1a22c0159c7ad56dafc96762a38826921d4d45a4
  • main default
  • 1.0.0
3 results

application.properties

Blame
  • application.properties 725 B
    # application configuration
    spring.application.name=example
    
    # H2 database configuration
    spring.datasource.url=jdbc:h2:mem:test
    spring.datasource.driverClassName=org.h2.Driver
    spring.datasource.username=sa
    spring.datasource.password=sa
    spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
    
    spring.h2.console.enabled=true
    spring.h2.console.path=/h2-console
    spring.h2.console.settings.trace=false
    spring.h2.console.settings.web-allow-others=true
    
    spring.servlet.multipart.enabled=true
    spring.servlet.multipart.max-file-size=10MB
    spring.servlet.multipart.max-request-size=10MB
    
    springdoc.swagger-ui.path=/swagger-ui
    springdoc.swagger-ui.enabled=true
    # http://localhost:8080/swagger-ui
    # http://localhost:8080/v3/api-docs