Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.50 KB | None | 0 0
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3. application.name=bionimbuz-web
  4. crud.pageSize=15
  5.  
  6. # Application mode
  7. # ~~~~~
  8. # Set to dev to enable instant reloading and other development help.
  9. # Otherwise set to prod.
  10. application.mode=dev
  11. %prod.application.mode=prod
  12.  
  13. # Secret key
  14. # ~~~~~
  15. # The secret key is used to secure cryptographics functions
  16. # If you deploy your application to several instances be sure to use the same key !
  17. application.secret=Ha2uwrn1jKwmVp50BJ8K0W1LmEiuXzNnlrQuugR4ia6veGCVMMrptuMB1dljXmbU
  18. application.token.maxAge=3h
  19. application.secret.des=W9ybgH+PV2s=
  20.  
  21. # Session configuration
  22. # ~~~~~~~~~~~~~~~~~~~~~~
  23. # By default, session will be written to the transient PLAY_SESSION cookie.
  24. # The cookies are not secured by default, only set it to true
  25. # if you're serving your pages through https.
  26. # application.session.cookie=PLAY
  27. application.session.maxAge=1h
  28. # application.session.secure=false
  29.  
  30. # i18n
  31. # ~~~~~
  32. # Define locales used by your application.
  33. # You can then place localized messages in conf/messages.{locale} files
  34. # application.langs=fr,en,ja
  35. application.langs=en
  36. default.lang=en
  37.  
  38. # Date format
  39. # ~~~~~
  40. date.format=dd/MM/yyyy
  41. date.format.en=yyyy/MM/dd HH:mm
  42. # date.format.fr=dd/MM/yyyy
  43.  
  44. # Server configuration
  45. # ~~~~~
  46. # If you need to change the HTTP port, uncomment this (default is set to 9000)
  47. http.port=9000
  48. executor.port=8181
  49. #
  50. # By default the server listen for HTTP on the wildcard address.
  51. # You can restrict this.
  52. # http.address=127.0.0.1
  53. #
  54. # Use this if you don't host your Play application at the root of the domain
  55. # you're serving it from. This parameter has no effect when deployed as a
  56. # war, because the path will be handled by the application server.
  57. # http.path=/
  58.  
  59. # Session/Cookie sharing between subdomain
  60. # ~~~~~~~~~~~~~~~~~~~~~~
  61. # By default a cookie is only valid for a specific domain. By setting
  62. # application.defaultCookieDomain to '.example.com', the cookies
  63. # will be valid for all domains ending with '.example.com', ie:
  64. # foo.example.com and bar.example.com
  65. # application.defaultCookieDomain=.example.com
  66.  
  67. # JVM configuration
  68. # ~~~~~
  69. # Define which port is used by JPDA when application is in debug mode (default is set to 8000)
  70. # jpda.port=8000
  71. #
  72. # Java source level => 1.6, 1.7 or 1.8 (experimental)
  73. # java.source=1.6
  74.  
  75. # Log level
  76. # ~~~~~
  77. # Specify log level for your application.
  78. # If you want a very customized log, create a log4j.properties file in the conf directory
  79. application.log=DEBUG
  80. #
  81. # More logging configuration
  82. # application.log.path=/log4j.properties
  83. # application.log.system.out=off
  84.  
  85. # Database configuration
  86. # ~~~~~
  87. # Enable a database engine if needed.
  88. #
  89. # To quickly set up a development database, use either:
  90. # - mem : for a transient in memory database (H2 in memory)
  91. # - fs : for a simple file written database (H2 file stored)
  92. # Steps for accessing in-memory database:
  93. # 1 - Access: localhost:<app-port>/@db
  94. # 2 - Put the following settings:
  95. # > Saved Settings: Generic H2 (Server)
  96. # > Driver Class: org.h2.Driver
  97. # > JDBC URL: jdbc:h2:mem:play
  98. # > User Name: sa
  99. # > Password: <blank>
  100. # 3 - Click "Connect"
  101. db=mem
  102. db.url=jdbc:h2:mem:play;MODE=PostgreSQL;LOCK_MODE=0
  103. evolutions.enabled=false
  104. #evolutions.autocommit=false
  105. #modules.evolutions.enabled=false
  106.  
  107. #
  108. # To connect to a local MySQL5 database, use:
  109. # db.default=mysql://user:pwd@host/database
  110. #
  111. # To connect to a local PostgreSQL9 database, use:
  112. # db=postgres://user:pwd@host/database
  113. #
  114. # If you need a full JDBC configuration use the following :
  115. #db.default.url=jdbc:postgresql://35.199.88.171:5432/dbbionimbuz
  116. #db.default.driver=org.postgresql.Driver
  117. #db.default.user=usrbionimbuz
  118. #db.default.pass=
  119. #db.default.testquery=SELECT 1 FROM DUAL
  120. #
  121. # Connections pool configuration :
  122. # DEV
  123. #db.default.pool.timeout=20000
  124. #db.default.pool.minSize=1
  125. #db.default.pool.initialPoolSize=3
  126. #db.default.pool.maxSize=7
  127. #db.default.pool.maxIdleTimeExcessConnections=5
  128. #db.default.pool.maxIdleTime=120
  129.  
  130. #
  131. # If you want to reuse an existing Datasource from your application server, use:
  132. # db.default=java:/comp/env/jdbc/myDatasource
  133. #
  134. # When using an existing Datasource, it's sometimes needed to destroy it when
  135. # the application is stopped. Depending on the datasource, you can define a
  136. # generic "destroy" method :
  137. # db.default.destroyMethod=close
  138.  
  139. # JPA Configuration (Hibernate)
  140. # ~~~~~
  141. #
  142. # Specify the custom JPA dialect to use here (default to guess):
  143. # jpa.default.dialect=org.hibernate.dialect.PostgreSQLDialect
  144. #
  145. # Specify the ddl generation pattern to use. Set to none to disable it
  146. # (default to update in DEV mode, and none in PROD mode):
  147. # jpa.default.ddl=update
  148. jpa.default.ddl=update
  149.  
  150. #
  151. # Debug SQL statements (logged using DEBUG level):
  152. jpa.default.debugSQL=true
  153.  
  154. #
  155. # You can even specify additional hibernate properties here:
  156. # default.hibernate.use_sql_comments=true
  157. # ...
  158. #
  159. # Store path for Blob content
  160. attachments.path=data/attachments
  161.  
  162. # Memcached configuration
  163. # ~~~~~
  164. # Enable memcached if needed. Otherwise a local cache is used.
  165. # memcached=enabled
  166. #
  167. # Specify memcached host (default to 127.0.0.1:11211)
  168. # memcached.host=127.0.0.1:11211
  169. #
  170. # Or you can specify multiple host to build a distributed cache
  171. # memcached.1.host=127.0.0.1:11211
  172. # memcached.2.host=127.0.0.1:11212
  173. #
  174. # Use plain SASL to authenticate for memcached
  175. # memcached.user=
  176. # memcached.password=
  177.  
  178. # HTTP Response headers control for static files
  179. # ~~~~~
  180. # Set the default max-age, telling the user's browser how long it should cache the page.
  181. # Default is 3600 (one hour). Set it to 0 to send no-cache.
  182. # This is only read in prod mode, in dev mode the cache is disabled.
  183. # http.cacheControl=3600
  184.  
  185. # If enabled, Play will generate entity tags automatically and send a 304 when needed.
  186. # Default is true, set it to false to deactivate use of entity tags.
  187. # http.useETag=true
  188.  
  189. # Custom mime types
  190. # mimetype.xpi=application/x-xpinstall
  191.  
  192. # WS configuration
  193. # ~~~~~
  194. # Default engine is Async Http Client, uncomment to use
  195. # the JDK's internal implementation
  196. # webservice = urlfetch
  197. # If you need to set proxy params for WS requests
  198. # http.proxyHost = localhost
  199. # http.proxyPort = 3128
  200. # http.proxyUser = jojo
  201. # http.proxyPassword = jojo
  202.  
  203. # Mail configuration
  204. # ~~~~~
  205. # Default is to use a mock Mailer
  206. mail.smtp=mock
  207.  
  208. # Or, specify mail host configuration
  209. # mail.smtp.host=127.0.0.1
  210. # mail.smtp.user=admin
  211. # mail.smtp.pass=
  212. # mail.smtp.channel=ssl
  213.  
  214. # Url-resolving in Jobs
  215. # ~~~~~~
  216. # When rendering templates with reverse-url-resoling (@@{..}) in Jobs (which do not have an inbound Http.Request),
  217. # ie if sending a HtmlMail, Play need to know which url your users use when accessing your app.
  218. # %test.application.baseUrl=http://localhost:9000/
  219. # %prod.application.baseUrl=http://www.yourdomain.com/
  220.  
  221. # Templates additional precompilation
  222. # ~~~~~~
  223. # yaml files can use template expressions and are located in the conf folder.
  224. # The default precompile task will not pickup those files.
  225. # You can manually add some files with the following property
  226. # (default: system property play.templates.compile, fallback system environment PLAY_TEMPLATES_COMPILE)
  227. # play.templates.compile=conf/initialdata.yml;{module:reporting}test/reporting/unittests/export.yml
  228. #
  229. # Override the path separator if you want to use the Play!-module notation like {module:modname} on unix.
  230. # (default: system property path.separator)
  231. # play.templates.compile.path.separator=;
  232.  
  233. # Jobs executor
  234. # ~~~~~~
  235. # Size of the Jobs pool
  236. play.jobs.pool=10
  237.  
  238. # Execution pool
  239. # ~~~~~
  240. # Default to 1 thread in DEV mode or (nb processors + 1) threads in PROD mode.
  241. # Try to keep a low as possible. 1 thread will serialize all requests (very useful for debugging purpose)
  242. # play.pool=3
  243.  
  244. # Netty pipeline configuration (advanced settings)
  245. # You can default netty settings by overriding the following line. Each handler must be comma separated.
  246. # The last value must be the PlayHandler class (or your own that extends PlayHandler)
  247. # Default values are
  248. # play.netty.pipeline = play.server.FlashPolicyHandler,org.jboss.netty.handler.codec.http.HttpRequestDecoder,play.server.StreamChunkAggregator,org.jboss.netty.handler.codec.http.HttpResponseEncoder,org.jboss.netty.handler.stream.ChunkedWriteHandler,play.server.PlayHandler
  249. # For example, to enable Netty response compression
  250. # play.netty.pipeline = play.server.FlashPolicyHandler,org.jboss.netty.handler.codec.http.HttpRequestDecoder,play.server.StreamChunkAggregator,org.jboss.netty.handler.codec.http.HttpResponseEncoder,org.jboss.netty.handler.codec.http.HttpContentCompressor,org.jboss.netty.handler.stream.ChunkedWriteHandler,play.server.PlayHandler
  251. # For SSL, use the play.ssl.netty.pipeline property
  252. # play.ssl.netty.pipeline = play.server.FlashPolicyHandler,org.jboss.netty.handler.codec.http.HttpRequestDecoder,play.server.StreamChunkAggregator,org.jboss.netty.handler.codec.http.HttpResponseEncoder,org.jboss.netty.handler.codec.http.HttpContentCompressor,org.jboss.netty.handler.stream.ChunkedWriteHandler,play.server.ssl.SslPlayHandler
  253.  
  254.  
  255. # Open file from errors pages
  256. # ~~~~~
  257. # If your text editor supports opening files by URL, Play! will
  258. # dynamically link error pages to files
  259. #
  260. # Example, for textmate:
  261. # play.editor=txmt://open?url=file://%s&line=%s
  262.  
  263. # Testing. Set up a custom configuration for test mode
  264. # ~~~~~
  265. #%test.module.cobertura=${play.path}/modules/cobertura
  266. %test.application.mode=dev
  267. %test.db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0
  268. %test.jpa.ddl=create
  269. %test.mail.smtp=mock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement