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.

34 lines
1.5 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. chatto.datasource.username=chatto_user
  7. chatto.datasource.password=password
  8. chatto.datasource.database-name=chatto_db2
  9. chatto.datasource.url=localhost
  10. chatto.datasource.port=3306
  11. chatto.datasource.params=useSSL=false
  12. spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
  13. ## Hibernate Properties
  14. # The SQL dialect makes Hibernate generate better SQL for the chosen database
  15. spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
  16. # Hibernate ddl auto (create, create-drop, validate, update)
  17. spring.jpa.hibernate.ddl-auto=validate
  18. spring.jpa.open-in-view=false
  19. logging.level.org.hibernate.stat=debug
  20. logging.level.org.springframework.web=DEBUG
  21. logging.level.web=DEBUG
  22. logging.level.org.hibernate.SQL=DEBUG
  23. logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
  24. # spring.http.log-request-details=true
  25. #spring.jackson.date-format=yyyy-MM-d
  26. spring.jackson.serialization.write-dates-as-timestamps=false
  27. spring.cache.jcache.config=classpath:ehcache.xml
  28. logging.level.org.springframework.cache=DEBUG
  29. chatto.token.timeout-duration=30
  30. chat-bundle=bundle.js
  31. admin-bundle=adminBundle.js
  32. chat-worker-bundle=chatWorker.js
  33. # spring.devtools.add-properties=false
  34. chatto.frontend.log-level=TRACE
  35. chatto.frontend.chat-page-size=9