-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapplication.conf
92 lines (70 loc) · 2.37 KB
/
application.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This is the main configuration file for the application.
# ~~~~~
swagger.api.basepath="http://localhost:9000"
# 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.
application.secret="MkPQ:DP4lsIZE899paYABu7NYrW:PfnlEHn9CZ^0xQ`i>^AD98GO@xS9ikLyyTy0"
# The application languages
# ~~~~~
application.langs="en"
# Global object class
# ~~~~~
# Define the Global object class for this application.
# Default to Global in the root package.
# application.global=Global
# 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 `conf/my.application.Router`,
# you may need to define a router file `my.application.routes`.
# Default to Routes in the root package (and `conf/routes`)
# application.router=my.application.Routes
# Database configuration
# ~~~~~
# You can declare as many datasources as you want.
# By convention, the default datasource is named `default`
db.default.driver=org.h2.Driver
db.default.url="jdbc:h2:mem:play"
db.default.user=sa
db.default.password=""
db.default.logStatements=true
db.default.jndiName=H2DS
#Uncomment to Switch to use an Oracle DB
#db.default.driver=oracle.jdbc.driver.OracleDriver
#db.default.url="jdbc:oracle:thin:@192.168.59.103:49161:xe"
#db.default.user=system
#db.default.password=oracle
#db.default.logStatements=true
#db.default.jndiName=OracleDS
#Also swap persistenceUnit to switch DBs
#jpa.default=ojdbcPersistenceUnit
jpa.default=h2PersistenceUnit
# Evolutions
# ~~~~~
# You can disable evolutions if needed
# evolutionplugin=disabled
# Ebean configuration
# ~~~~~
# You can declare as many Ebean servers as you want.
# By convention, the default server is named `default`
#
# ebean.default="models.*"
# Logger
# ~~~~~
# You can also configure logback (http://logback.qos.ch/),
# by providing an application-logger.xml file in the conf directory.
# Root logger:
logger.root=ERROR
# Logger used by the framework:
logger.play=INFO
# Logger provided to your application:
logger.application=DEBUG
logger.org.hibernate=DEBUG