Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is the main configuration file for the application.
- # ~~~~~
- # Secret key
- # ~~~~~
- # The secret key is used to secure cryptographics functions.
- #
- # This must be changed for production, but we recommend not changing it in this file.
- #
- # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
- play.http.secret.key = "`bCa:TxIcRw=^H99;umhtZu?_H2jbZ/`b08Sa>KKp_:A^gA_Zm7z2J1NPVB<FBkb"
- # The application languages
- # ~~~~~
- play.i18n.langs = [ "en" ]
- # Router
- # ~~~~~
- # Define the Router object to use for this application.
- # This router will be looked up first when the application is starting up,
- # so make sure this is the entry point.
- # Furthermore, it's assumed your route file is named properly.
- # So for an application router like `my.application.Router`,
- # you may need to define a router file `conf/my.application.routes`.
- # Default to Routes in the root package (and conf/routes)
- # play.http.router = my.application.Routes
- # Database configuration
- # ~~~~~
- # You can declare as many datasources as you want
- # By convention, the default datasource is named `default`
- #
- ebean.default = ["models.*", "api.models.*", "app.models.*"]
- #Pour base de donnée Mysql
- #db.default.driver=com.mysql.jdbc.Driver
- #db.default.url="jdbc:mysql://37.187.146.89/040316API"
- #db.default.username=root
- #db.default.password="a7h22tPU"
- #Serveur OVH, commenter pour Heroku.
- plateforme.url="http://37.187.146.89:9000"
- application.url="http://37.187.146.89:5555"
- nom.groupe="/Biard/"
- amazon.bucket="somoversbiarddev"
- #amazon.bucket="somovers-biard-dev"
- #cloud.method="DROPBOX"
- cloud.method="AMAZON"
- sendgridAPI.key="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"
- db.default.driver = org.postgresql.Driver
- #dev
- db.default.url = "jdbc:postgresql://localhost/franck"
- db.default.username = obcom
- db.default.password = "obpassa7h22tPU"
- #test
- #db.default.url = "postgres://u7s8qgkl3h2c1v:p5c05a1308300f3fe4fff1e996eb18e389dc605d18a30263cc8458ca9f5ee9712@ec2-34-253-22-58.eu-west-1.compute.amazonaws.com:5432/dfec692hht9r0n?sslmode=require"
- #prod
- #db.default.url = "postgres://u7jl0vq5j8dk07:pa4c2f8fde25993a851e1ed23a0a83744528d2089ef5d8deb383cbac2c6c78012@ec2-52-18-97-201.eu-west-1.compute.amazonaws.com:5432/dbtotnh4nqaoeg?sslmode=require"
- # Evolutions
- # ~~~~~
- # You can disable evolutions if needed
- #play.evolutions.enabled=false
- # You can disable evolutions for a specific datasource if necessary
- play.evolutions.db.default.enabled=false
- #test pour regler le "bad request [request entity too large]"
- play.http.parser.maxMemoryBuffer=4MB
- play.http.parser.maxDiskBuffer=100MB
- parsers.anyContent.maxLength=100MB
- play.filters.enabled=[]
- play.filters.enabled += "play.filters.gzip.GzipFilter"
- play.filters.enabled += "play.filters.cors.CORSFilter"
- play {
- modules {
- enabled += be.objectify.deadbolt.java.DeadboltModule
- enabled += modules.CustomDeadboltHook
- }
- }
- deadbolt {
- java {
- blocking=true
- blocking-timeout=2500
- view-timeout=5000
- }
- }
- play.modules.enabled += "modules.OnStartupModule"
- play.ws.timeout.connection = 3600 s
- play.ws.timeout.request = 3600 s
- play.ws.timeout.idle = 3600 s
- akka.http.server.idle-timeout = 3600 s
- akka.http.http-connection-pool.idle-timeout = 3600 s
- akka.http.http-connection-pool.client.idle-timeout = 3600 s
- akka.http.server.request-timeout = 3600 s
- akka.http.client.idle-timeout = 3600 s
- akka.http.client.connecting-timeout = 3600 s
- akka.https.server.idle-timeout = 3600 s
- akka.https.http-connection-pool.idle-timeout = 3600 s
- akka.https.http-connection-pool.client.idle-timeout = 3600 s
- akka.https.server.request-timeout = 3600 s
- akka.https.client.idle-timeout = 3600 s
- akka.https.client.connecting-timeout = 3600 s
- mode= "dev"
- play.http.errorHandler = "security.ErrorHandler"
- GOOGLE_API_KEY= "AIzaSyD86_RiQYX7g3CswO0iI1a3Swq3e2OvXHY"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement