application.properties 1.1 KB

123456789101112131415161718192021222324252627282930
  1. spring.datasource.url=jdbc:mysql://127.0.0.1:3306/cartelle?autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=Europe/Rome
  2. spring.jpa.hibernate.ddl-auto=update
  3. spring.session.jdbc.initialize-schema=never
  4. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  5. spring.jpa.database-platform=org.hibernate.dialect.MySQL57Dialect
  6. #spring.profiles.default=sqlite
  7. #hibernate.dialect = org.hibernate.dialect.SQLiteDialect
  8. #hibernate.dialect=com.sqlite.SQLiteDialect
  9. #spring.jpa.properties.hibernate.dialect=com.sqlite.SQLiteDialect
  10. spring.jpa.show-sql=true
  11. #disable database pooling - not supported on sqlite
  12. spring.datasource.hikari.maximum-pool-size=1
  13. spring.servlet.multipart.max-file-size=50MB
  14. spring.servlet.multipart.max-request-size=50MB
  15. server.port=9000
  16. spring.datasource.username=root
  17. spring.datasource.password=kranio-10
  18. ############ JWT Properties #####################
  19. jwt.expiration.time=90000
  20. jwt.public.key=classpath:app.pub
  21. ## This is strictly for demo purpose only,
  22. # DO NOT define the private key in the repository like this in your personal projects
  23. jwt.private.key=classpath:app.key