/sigmah/src/main/resources/sigmah.properties

http://sigma-h.googlecode.com/ · Properties File · 61 lines · 21 code · 11 blank · 29 comment · 0 complexity · 1f7c78c7fff57c9dcd6eca0bcd32f224 MD5 · raw file

  1. #
  2. # All Sigmah code is released under the GNU General Public License v3
  3. # See COPYRIGHT.txt and LICENSE.txt.
  4. #
  5. # --
  6. # DATABASE
  7. # --
  8. hibernate.dialect=<db dialect class name>
  9. hibernate.connection.driver_class=<db driver class name>
  10. hibernate.connection.username=<db username>
  11. hibernate.connection.password=<db password>
  12. hibernate.connection.url=jdbc:<db protocol>://<host>:<port>/<db name>
  13. hibernate.hbm2ddl.auto=<create|update|none>
  14. hibernate.show_sql=<true|false>
  15. hibernate.format_sql=<true|false>
  16. # --
  17. # FILES STORAGE
  18. # -------------
  19. # Files can be stored 2 ways :
  20. # * local storage : files are stored on the local disk
  21. # * s3 storage : files are stored in buckets with the AWS infrastructure
  22. # --
  23. # Storage policy (if missing or error, the default policy is the local one)
  24. # * Local : org.sigmah.server.endpoint.file.LocalStorageProvider
  25. # * S3 : org.sigmah.server.endpoint.file.S3StorageProvider
  26. repository.file_storage_provider_class=<storage policy provider class>
  27. # Root directory name (local) or bucket name (s3) where files are stored.
  28. repository.name=<uploaded files repository name>
  29. # Sub directory name (local) or key prefix (s3) where dynamically served images are stored.
  30. repository.images=<served images sub-repository name>
  31. # Credentials, only for s3 storage.
  32. aws.access_key=<aws access key>
  33. aws.secret_key=<aws secret key>
  34. # --
  35. # MAILS
  36. # --
  37. mail.hostname=<smtp server address or hostname>
  38. mail.port=<smtp port>
  39. mail.from.address=<smtp sender email address>
  40. mail.from.name=<smtp sender name>
  41. # Authentication (comment these lines if no authentication is required)
  42. mail.auth.username=<smtp authentication user name>
  43. mail.auth.password=<smtp authentication password>
  44. #This is the web server on which Sigmah is running.
  45. #It is used when confirming a new user creation.
  46. #Notice: Do not add any signs('/' or '?') at the end.
  47. #Example: http://www.sigmah.org/NewUserConfirm?user3434333
  48. host.url= http://www.sigmah.org
  49. # forward root requests to the Sigmah module
  50. default.interface=Sigmah