/sub-projects/jquery-stream-play/trunk/conf/application.conf

http://jquery-stream.googlecode.com/ · Unknown · 217 lines · 193 code · 24 blank · 0 comment · 0 complexity · f519fb003b5e0b5e8587c3197e9fdd43 MD5 · raw file

  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. application.name=jquery-stream-play
  4. # Application mode
  5. # ~~~~~
  6. # Set to dev to enable instant reloading and other development help.
  7. # Otherwise set to prod.
  8. application.mode=dev
  9. %prod.application.mode=prod
  10. # Secret key
  11. # ~~~~~
  12. # The secret key is used to secure cryptographics functions
  13. # If you deploy your application to several instances be sure to use the same key !
  14. application.secret=IlZ5yJb0hLjXNAbH4C4ORixyFlanAaSmQYtswPbZT4G5rCfTGlOMZnn7SWRsiMhm
  15. # i18n
  16. # ~~~~~
  17. # Define locales used by your application.
  18. # You can then place localized messages in conf/messages.{locale} files
  19. # application.langs=fr,en,ja
  20. # Date format
  21. # ~~~~~
  22. date.format=yyyy-MM-dd
  23. # date.format.fr=dd/MM/yyyy
  24. # Server configuration
  25. # ~~~~~
  26. # If you need to change the HTTP port, uncomment this (default is set to 9000)
  27. # http.port=9000
  28. #
  29. # By default the server listen for HTTP on the wilcard address.
  30. # You can restrict this.
  31. # http.address=127.0.0.1
  32. #
  33. # Use this if you don't host your Play application at the root of the domain
  34. # you're serving it from. This parameter has no effect when deployed as a
  35. # war, because the path will be handled by the application server.
  36. # http.path=/
  37. # Session configuration
  38. # ~~~~~~~~~~~~~~~~~~~~~~
  39. # By default, session will be written to the transient PLAY_SESSION cookie.
  40. # The cookies are not secured by default, only set it to true
  41. # if you're serving your pages through https.
  42. # application.session.cookie=PLAY
  43. # application.session.maxAge=1h
  44. # application.session.secure=false
  45. # Session/Cookie sharing between subdomain
  46. # ~~~~~~~~~~~~~~~~~~~~~~
  47. # By default a cookie is only valid for a specific domain. By setting
  48. # application.defaultCookieDomain to '.example.com', the cookies
  49. # will be valid for all domains ending with '.example.com', ie:
  50. # foo.example.com and bar.example.com
  51. # application.defaultCookieDomain=.example.com
  52. # JVM configuration
  53. # ~~~~~
  54. # Define which port is used by JPDA when application is in debug mode (default is set to 8000)
  55. # jpda.port=8000
  56. #
  57. # Java source level => 1.5, 1.6 or 1.7 (experimental)
  58. # java.source=1.5
  59. # Log level
  60. # ~~~~~
  61. # Specify log level for your application.
  62. # If you want a very customized log, create a log4j.properties file in the conf directory
  63. # application.log=INFO
  64. #
  65. # More logging configuration
  66. # application.log.path=/log4j.properties
  67. # application.log.system.out=off
  68. # Database configuration
  69. # ~~~~~
  70. # Enable a database engine if needed.
  71. #
  72. # To quickly set up a development database, use either:
  73. # - mem : for a transient in memory database (H2 in memory)
  74. # - fs : for a simple file written database (H2 file stored)
  75. # db=mem
  76. #
  77. # To connect to a local MySQL5 database, use:
  78. # db=mysql://user:pwd@host/database
  79. #
  80. # To connect to a local PostgreSQL9 database, use:
  81. # db=postgres://user:pwd@host/database
  82. #
  83. # If you need a full JDBC configuration use the following :
  84. # db.url=jdbc:postgresql:database_name
  85. # db.driver=org.postgresql.Driver
  86. # db.user=root
  87. # db.pass=secret
  88. #
  89. # Connections pool configuration :
  90. # db.pool.timeout=1000
  91. # db.pool.maxSize=30
  92. # db.pool.minSize=10
  93. #
  94. # If you want to reuse an existing Datasource from your application server, use:
  95. # db=java:/comp/env/jdbc/myDatasource
  96. #
  97. # When using an existing Datasource, it's sometimes needed to destroy it when
  98. # the application is stopped. Depending on the datasource, you can define a
  99. # generic "destroy" method :
  100. # db.destroyMethod=close
  101. # JPA Configuration (Hibernate)
  102. # ~~~~~
  103. #
  104. # Specify the custom JPA dialect to use here (default to guess):
  105. # jpa.dialect=org.hibernate.dialect.PostgreSQLDialect
  106. #
  107. # Specify the ddl generation pattern to use. Set to none to disable it
  108. # (default to update in DEV mode, and none in PROD mode):
  109. # jpa.ddl=update
  110. #
  111. # Debug SQL statements (logged using DEBUG level):
  112. # jpa.debugSQL=true
  113. #
  114. # You can even specify additional hibernate properties here:
  115. # hibernate.use_sql_comments=true
  116. # ...
  117. #
  118. # Store path for Blob content
  119. attachments.path=data/attachments
  120. # Memcached configuration
  121. # ~~~~~
  122. # Enable memcached if needed. Otherwise a local cache is used.
  123. # memcached=enabled
  124. #
  125. # Specify memcached host (default to 127.0.0.1:11211)
  126. # memcached.host=127.0.0.1:11211
  127. #
  128. # Or you can specify multiple host to build a distributed cache
  129. # memcached.1.host=127.0.0.1:11211
  130. # memcached.2.host=127.0.0.1:11212
  131. #
  132. # Use plain SASL to authenticate for memcached
  133. # memcached.user=
  134. # memcached.password=
  135. # HTTP Response headers control for static files
  136. # ~~~~~
  137. # Set the default max-age, telling the user's browser how long it should cache the page.
  138. # Default is 3600 (one hour). Set it to 0 to send no-cache.
  139. # This is only read in prod mode, in dev mode the cache is disabled.
  140. # http.cacheControl=3600
  141. # If enabled, Play will generate entity tags automatically and send a 304 when needed.
  142. # Default is true, set it to false to deactivate use of entity tags.
  143. # http.useETag=true
  144. # Custom mime types
  145. # mimetype.xpi=application/x-xpinstall
  146. # WS configuration
  147. # ~~~~~
  148. # Default engine is Async Http Client, uncomment to use
  149. # the JDK's internal implementation
  150. # webservice = urlfetch
  151. # If you need to set proxy params for WS requests
  152. # http.proxyHost = localhost
  153. # http.proxyPort = 3128
  154. # http.proxyUser = jojo
  155. # http.proxyPassword = jojo
  156. # Mail configuration
  157. # ~~~~~
  158. # Default is to use a mock Mailer
  159. mail.smtp=mock
  160. # Or, specify mail host configuration
  161. # mail.smtp.host=127.0.0.1
  162. # mail.smtp.user=admin
  163. # mail.smtp.pass=
  164. # mail.smtp.channel=ssl
  165. # Url-resolving in Jobs
  166. # ~~~~~~
  167. # When rendering templates with reverse-url-resoling (@@{..}) in Jobs (which do not have an inbound Http.Request),
  168. # ie if sending a HtmlMail, Play need to know which url your users use when accessing your app.
  169. # %test.application.baseUrl=http://localhost:9000/
  170. # %prod.application.baseUrl=http://www.yourdomain.com/
  171. # Jobs executor
  172. # ~~~~~~
  173. # Size of the Jobs pool
  174. # play.jobs.pool=10
  175. # Execution pool
  176. # ~~~~~
  177. # Default to 1 thread in DEV mode or (nb processors + 1) threads in PROD mode.
  178. # Try to keep a low as possible. 1 thread will serialize all requests (very useful for debugging purpose)
  179. # play.pool=3
  180. # Open file from errors pages
  181. # ~~~~~
  182. # If your text editor supports opening files by URL, Play! will
  183. # dynamically link error pages to files
  184. #
  185. # Example, for textmate:
  186. # play.editor=txmt://open?url=file://%s&line=%s
  187. # Testing. Set up a custom configuration for test mode
  188. # ~~~~~
  189. #%test.module.cobertura=${play.path}/modules/cobertura
  190. %test.application.mode=dev
  191. %test.db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0
  192. %test.jpa.ddl=create
  193. %test.mail.smtp=mock