Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. application.name=PeerToPolicy
  4.  
  5. # Application mode
  6. # ~~~~~
  7. # Set to dev to enable instant reloading and other development help.
  8. # Otherwise set to prod.
  9. application.mode=dev
  10.  
  11. # Secret key
  12. # ~~~~~
  13. # The secret key is used to secure cryptographics functions
  14. # If you deploy your application to several instances be sure to use the same key !
  15. application.secret=vzZpmyoJkfgB2o3Rffoc8Va5VQVbORby6O7j6ItUS3KE3p3GXvDC0CinlCrfRxcx
  16.  
  17. # Additional modules
  18. # ~~~~~
  19. # A module is another play! application. Add a line for each module you want
  20. # to add to your application. Modules path are either absolutes or relative to
  21. # the application root.
  22. # They get loaded from top to bottom; Syntax: module.{name}={path}
  23. #
  24. # module.crud=${play.path}/modules/crud
  25. #
  26. # Keep the next line as is to help the play script to manage modules.
  27. # ---- MODULES ----
  28.  
  29. # i18n
  30. # ~~~~~
  31. # Define locales used by your application.
  32. # You can then place localized messages in conf/messages.{locale} files
  33. # application.langs=fr,en,ja
  34.  
  35. # Server configuration
  36. # ~~~~~
  37. # If you need to change the HTTP port, uncomment this (default is set to 9000)
  38. # http.port=9000
  39. #
  40. # By default the server listen for HTTP on the wilcard address.
  41. # You can restrict this.
  42. # http.address=127.0.0.1
  43.  
  44. # Session configuration
  45. # ~~~~~~~~~~~~~~~~~~~~~~
  46. # By default, session will be written to the transient PLAY_SESSION cookie.
  47. # application.session.cookie=PLAY
  48. # application.session.maxAge=1h
  49.  
  50. # JVM configuration
  51. # ~~~~~
  52. # Define which port is used by JPDA when application is in debug mode (default is set to 8000)
  53. # jpda.port=8000
  54. #
  55. # Java source level => 1.5, 1.6 or 1.7 (experimental)
  56. # java.source=1.5
  57.  
  58. # Log level
  59. # ~~~~~
  60. # Specify log level for your application.
  61. # If you want a very customized log, create a log4j.properties file in the conf directory
  62. # application.log=INFO
  63. #
  64. # More logging configuration
  65. # application.log.path=/log4j.properties
  66. # application.log.system.out=off
  67.  
  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 (HSQL in memory)
  74. # - fs : for a simple file written database (HSQL file stored)
  75. #db=mem
  76. #
  77. # To connect to a local MySQL5 database, use:
  78. # db=mysql:user:root@localhost:password:password
  79.  
  80. ###################################################
  81. # CONNECTION TO MAMP MYSQL SERVER ON PORT 8889
  82. # USER: me
  83. # PASSWORD: mypassword
  84.  
  85. db.url=jdbc:mysql://localhost:3306/peertopolicy
  86. db.driver=com.mysql.jdbc.Driver
  87. db.user=me
  88. db.pass=mypassword
  89. ###################################################
  90.  
  91. #
  92. # Connections pool configuration :
  93. # db.pool.timeout=1000
  94. # db.pool.maxSize=30
  95. # db.pool.minSize=10
  96. #
  97. # If you want to reuse an existing Datasource from your application server, use:
  98. # db=java:/comp/env/jdbc/myDatasource
  99.  
  100. # Import the crud module
  101. module.crud=${play.path}/modules/crud/
  102.  
  103. # Import the secure module
  104. module.secure=${play.path}/modules/secure
  105.  
  106. # JPA Configuration (Hibernate)
  107. # ~~~~~
  108. #
  109. # Specify the custom JPA dialect to use here (default to guess):
  110. # jpa.dialect=org.hibernate.dialect.PostgreSQLDialect
  111. #
  112. # Specify the ddl generation pattern to use (default to update, set to none to disable it):
  113. # jpa.ddl=update
  114. #
  115. # Debug SQL statements (logged using DEBUG level):
  116. # jpa.debugSQL=true
  117. #
  118. # You can even specify additional hibernate properties here:
  119. # hibernate.use_sql_comments=true
  120. # ...
  121.  
  122. # Memcached configuration
  123. # ~~~~~
  124. # Enable memcached if needed. Otherwise a local cache is used.
  125. # memcached=enabled
  126. #
  127. # Specify memcached host (default to 127.0.0.1:11211)
  128. # memcached.host=127.0.0.1:11211
  129. #
  130. # Or you can specify multiple host to build a distributed cache
  131. # memcached.1.host=127.0.0.1:11211
  132. # memcached.2.host=127.0.0.1:11212
  133.  
  134. # HTTP Response headers control for static files
  135. # ~~~~~
  136. # Set the default max-age, telling the user's browser how long it should cache the page.
  137. # Default is 3600 (one hour). Set it to 0 to send no-cache.
  138. # This is only read in prod mode, in dev mode the cache is disabled.
  139. http.cacheControl=3600
  140.  
  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.  
  145. # WS configuration
  146. # ~~~~~
  147. # If you need to set proxy params for WS requests
  148. # http.proxyHost = localhost
  149. # http.proxyPort = 3128
  150. # http.proxyUser = jojo
  151. # http.proxyPassword = jojo
  152.  
  153. # Mail configuration
  154. # ~~~~~
  155. # Default is to use a mock Mailer
  156. mail.smtp=mock
  157.  
  158. # Or, specify mail host configuration
  159. # mail.smtp.host=127.0.0.1
  160. # mail.smtp.user=admin
  161. # mail.smtp.pass=
  162. # mail.smtp.channel=ssl
  163.  
  164. # Execution pool
  165. # ~~~~~
  166. # Default to 1 thread in DEV mode or (nb processors + 1) threads in PROD mode.
  167. # Try to keep a low as possible. 1 thread will serialize all requests (very useful for debugging purpose)
  168. # play.pool=3
  169.  
  170. # Open file from errors pages
  171. # ~~~~~
  172. # If your text editor supports opening files by URL, Play! will
  173. # dynamically link error pages to files
  174. #
  175. # Example, for textmate:
  176. # play.editor=txmt://open?url=file://%s&line=%s
  177.  
  178. # Testing. Set up a custom configuration for test mode
  179. # ~~~~~
  180. #%test.module.cobertura=${play.path}/modules/cobertura
  181. %test.application.mode=dev
  182. %test.db=mem
  183. %test.jpa.ddl=create-drop
  184. %test.mail.smtp=mock
  185.  
  186. # These features will be automatically enabled in the 1.1 release
  187. # For now you can enable them if you want
  188. # ~~~~~
  189. future.bindJPAObjects=true
  190. future.escapeInTemplates=true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement