A self hosted chat application with end-to-end encrypted messaging.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.2 KiB

5 years ago
5 years ago
5 years ago
5 years ago
  1. #
  2. ### Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
  3. #spring.datasource.url = jdbc:mysql://localhost:3306/chatto_db?useSSL=false
  4. #spring.datasource.username = chatto_user
  5. #spring.datasource.password = password
  6. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  7. ## Hibernate Properties
  8. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  9. spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
  10. # Hibernate ddl auto (create, create-drop, validate, update)
  11. spring.jpa.hibernate.ddl-auto=validate
  12. spring.jpa.open-in-view=false
  13. logging.level.org.hibernate.stat=debug
  14. logging.level.org.springframework.web=DEBUG
  15. logging.level.web=DEBUG
  16. logging.level.org.hibernate.SQL=DEBUG
  17. logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
  18. # spring.http.log-request-details=true
  19. #spring.jackson.date-format=yyyy-MM-d
  20. spring.jackson.serialization.write-dates-as-timestamps=false
  21. spring.cache.jcache.config=classpath:ehcache.xml
  22. logging.level.org.springframework.cache=DEBUG
  23. chatto.token.timeout-duration=30
  24. chat-bundle=bundle.js
  25. # spring.devtools.add-properties=false
  26. chatto.frontend.log-level=TRACE
  27. chatto.frontend.chat-page-size=9