Advertisement
Guest User

Untitled

a guest
Dec 6th, 2018
925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.89 KB | None | 0 0
  1. # This is the main configuration file for the application.
  2. # ~~~~~
  3.  
  4. # Secret key
  5. # ~~~~~
  6. # The secret key is used to secure cryptographics functions.
  7. #
  8. # This must be changed for production, but we recommend not changing it in this file.
  9. #
  10. # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
  11. play.http.secret.key = "`bCa:TxIcRw=^H99;umhtZu?_H2jbZ/`b08Sa>KKp_:A^gA_Zm7z2J1NPVB<FBkb"
  12.  
  13. # The application languages
  14. # ~~~~~
  15. play.i18n.langs = [ "en" ]
  16.  
  17. # Router
  18. # ~~~~~
  19. # Define the Router object to use for this application.
  20. # This router will be looked up first when the application is starting up,
  21. # so make sure this is the entry point.
  22. # Furthermore, it's assumed your route file is named properly.
  23. # So for an application router like `my.application.Router`,
  24. # you may need to define a router file `conf/my.application.routes`.
  25. # Default to Routes in the root package (and conf/routes)
  26. # play.http.router = my.application.Routes
  27.  
  28. # Database configuration
  29. # ~~~~~
  30. # You can declare as many datasources as you want
  31. # By convention, the default datasource is named `default`
  32. #
  33. ebean.default = ["models.*", "api.models.*", "app.models.*"]
  34. #Pour base de donnée Mysql
  35. #db.default.driver=com.mysql.jdbc.Driver
  36. #db.default.url="jdbc:mysql://37.187.146.89/040316API"
  37. #db.default.username=root
  38. #db.default.password="a7h22tPU"
  39.  
  40.  
  41. #Serveur OVH, commenter pour Heroku.
  42. plateforme.url="http://37.187.146.89:9000"
  43. application.url="http://37.187.146.89:5555"
  44.  
  45. nom.groupe="/Biard/"
  46. amazon.bucket="somoversbiarddev"
  47. #amazon.bucket="somovers-biard-dev"
  48.  
  49. #cloud.method="DROPBOX"
  50. cloud.method="AMAZON"
  51.  
  52. sendgridAPI.key="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"
  53.  
  54. db.default.driver = org.postgresql.Driver
  55. #dev
  56. db.default.url = "jdbc:postgresql://localhost/franck"
  57. db.default.username = obcom
  58. db.default.password = "obpassa7h22tPU"
  59. #test
  60. #db.default.url = "postgres://u7s8qgkl3h2c1v:p5c05a1308300f3fe4fff1e996eb18e389dc605d18a30263cc8458ca9f5ee9712@ec2-34-253-22-58.eu-west-1.compute.amazonaws.com:5432/dfec692hht9r0n?sslmode=require"
  61. #prod
  62. #db.default.url = "postgres://u7jl0vq5j8dk07:pa4c2f8fde25993a851e1ed23a0a83744528d2089ef5d8deb383cbac2c6c78012@ec2-52-18-97-201.eu-west-1.compute.amazonaws.com:5432/dbtotnh4nqaoeg?sslmode=require"
  63.  
  64. # Evolutions
  65. # ~~~~~
  66. # You can disable evolutions if needed
  67. #play.evolutions.enabled=false
  68.  
  69. # You can disable evolutions for a specific datasource if necessary
  70. play.evolutions.db.default.enabled=false
  71.  
  72. #test pour regler le "bad request [request entity too large]"
  73. play.http.parser.maxMemoryBuffer=4MB
  74. play.http.parser.maxDiskBuffer=100MB
  75. parsers.anyContent.maxLength=100MB
  76.  
  77. play.filters.enabled=[]
  78. play.filters.enabled += "play.filters.gzip.GzipFilter"
  79. play.filters.enabled += "play.filters.cors.CORSFilter"
  80.  
  81. play {
  82. modules {
  83. enabled += be.objectify.deadbolt.java.DeadboltModule
  84. enabled += modules.CustomDeadboltHook
  85. }
  86. }
  87.  
  88. deadbolt {
  89. java {
  90. blocking=true
  91. blocking-timeout=2500
  92. view-timeout=5000
  93. }
  94. }
  95.  
  96. play.modules.enabled += "modules.OnStartupModule"
  97. play.ws.timeout.connection = 3600 s
  98. play.ws.timeout.request = 3600 s
  99. play.ws.timeout.idle = 3600 s
  100. akka.http.server.idle-timeout = 3600 s
  101. akka.http.http-connection-pool.idle-timeout = 3600 s
  102. akka.http.http-connection-pool.client.idle-timeout = 3600 s
  103. akka.http.server.request-timeout = 3600 s
  104. akka.http.client.idle-timeout = 3600 s
  105. akka.http.client.connecting-timeout = 3600 s
  106. akka.https.server.idle-timeout = 3600 s
  107. akka.https.http-connection-pool.idle-timeout = 3600 s
  108. akka.https.http-connection-pool.client.idle-timeout = 3600 s
  109. akka.https.server.request-timeout = 3600 s
  110. akka.https.client.idle-timeout = 3600 s
  111. akka.https.client.connecting-timeout = 3600 s
  112. mode= "dev"
  113.  
  114. play.http.errorHandler = "security.ErrorHandler"
  115.  
  116. GOOGLE_API_KEY= "AIzaSyD86_RiQYX7g3CswO0iI1a3Swq3e2OvXHY"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement