Mercurial > hg > Members > nobuyasu > TOModel
comparison conf/application.conf @ 0:e45bf6020b0d draft
add play files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:36:47 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e45bf6020b0d |
---|---|
1 # This is the main configuration file for the application. | |
2 # ~~~~~ | |
3 application.name=TOModel | |
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 %prod.application.mode=prod | |
11 | |
12 # Secret key | |
13 # ~~~~~ | |
14 # The secret key is used to secure cryptographics functions | |
15 # If you deploy your application to several instances be sure to use the same key ! | |
16 application.secret=QstyDgz1XJNrXSdPCNt9Lwa7Q4RfqppwaAmzPzLKVg80brXSEbFqWkObdeK2314A | |
17 | |
18 # i18n | |
19 # ~~~~~ | |
20 # Define locales used by your application. | |
21 # You can then place localized messages in conf/messages.{locale} files | |
22 # application.langs=fr,en,ja | |
23 | |
24 # Date format | |
25 # ~~~~~ | |
26 date.format=yyyy-MM-dd | |
27 # date.format.fr=dd/MM/yyyy | |
28 | |
29 # Server configuration | |
30 # ~~~~~ | |
31 # If you need to change the HTTP port, uncomment this (default is set to 9000) | |
32 # http.port=9000 | |
33 # | |
34 # By default the server listen for HTTP on the wilcard address. | |
35 # You can restrict this. | |
36 # http.address=127.0.0.1 | |
37 # | |
38 # Use this if you don't host your Play application at the root of the domain | |
39 # you're serving it from. This parameter has no effect when deployed as a | |
40 # war, because the path will be handled by the application server. | |
41 # http.path=/ | |
42 | |
43 # Session configuration | |
44 # ~~~~~~~~~~~~~~~~~~~~~~ | |
45 # By default, session will be written to the transient PLAY_SESSION cookie. | |
46 # The cookies are not secured by default, only set it to true | |
47 # if you're serving your pages through https. | |
48 # application.session.cookie=PLAY | |
49 # application.session.maxAge=1h | |
50 # application.session.secure=false | |
51 | |
52 # Session/Cookie sharing between subdomain | |
53 # ~~~~~~~~~~~~~~~~~~~~~~ | |
54 # By default a cookie is only valid for a specific domain. By setting | |
55 # application.defaultCookieDomain to '.example.com', the cookies | |
56 # will be valid for all domains ending with '.example.com', ie: | |
57 # foo.example.com and bar.example.com | |
58 # application.defaultCookieDomain=.example.com | |
59 | |
60 # JVM configuration | |
61 # ~~~~~ | |
62 # Define which port is used by JPDA when application is in debug mode (default is set to 8000) | |
63 # jpda.port=8000 | |
64 # | |
65 # Java source level => 1.5, 1.6 or 1.7 (experimental) | |
66 # java.source=1.5 | |
67 | |
68 # Log level | |
69 # ~~~~~ | |
70 # Specify log level for your application. | |
71 # If you want a very customized log, create a log4j.properties file in the conf directory | |
72 # application.log=INFO | |
73 # | |
74 # More logging configuration | |
75 # application.log.path=/log4j.properties | |
76 # application.log.system.out=off | |
77 | |
78 # Database configuration | |
79 # ~~~~~ | |
80 # Enable a database engine if needed. | |
81 # | |
82 # To quickly set up a development database, use either: | |
83 # - mem : for a transient in memory database (H2 in memory) | |
84 # - fs : for a simple file written database (H2 file stored) | |
85 # db=mem | |
86 # | |
87 # To connect to a local MySQL5 database, use: | |
88 # db=mysql:user:pwd@database_name | |
89 # | |
90 # If you need a full JDBC configuration use the following : | |
91 # db.url=jdbc:postgresql:database_name | |
92 # db.driver=org.postgresql.Driver | |
93 # db.user=root | |
94 # db.pass=secret | |
95 # | |
96 # Connections pool configuration : | |
97 # db.pool.timeout=1000 | |
98 # db.pool.maxSize=30 | |
99 # db.pool.minSize=10 | |
100 # | |
101 # If you want to reuse an existing Datasource from your application server, use: | |
102 # db=java:/comp/env/jdbc/myDatasource | |
103 # | |
104 # When using an existing Datasource, it's sometimes needed to destroy it when | |
105 # the application is stopped. Depending on the datasource, you can define a | |
106 # generic "destroy" method : | |
107 # db.destroyMethod=close | |
108 | |
109 # JPA Configuration (Hibernate) | |
110 # ~~~~~ | |
111 # | |
112 # Specify the custom JPA dialect to use here (default to guess): | |
113 # jpa.dialect=org.hibernate.dialect.PostgreSQLDialect | |
114 # | |
115 # Specify the ddl generation pattern to use. Set to none to disable it | |
116 # (default to update in DEV mode, and none in PROD mode): | |
117 # jpa.ddl=update | |
118 # | |
119 # Debug SQL statements (logged using DEBUG level): | |
120 # jpa.debugSQL=true | |
121 # | |
122 # You can even specify additional hibernate properties here: | |
123 # hibernate.use_sql_comments=true | |
124 # ... | |
125 # | |
126 # Store path for Blob content | |
127 attachments.path=data/attachments | |
128 | |
129 # Memcached configuration | |
130 # ~~~~~ | |
131 # Enable memcached if needed. Otherwise a local cache is used. | |
132 # memcached=enabled | |
133 # | |
134 # Specify memcached host (default to 127.0.0.1:11211) | |
135 # memcached.host=127.0.0.1:11211 | |
136 # | |
137 # Or you can specify multiple host to build a distributed cache | |
138 # memcached.1.host=127.0.0.1:11211 | |
139 # memcached.2.host=127.0.0.1:11212 | |
140 # | |
141 # Use plain SASL to authenticate for memcached | |
142 # memcached.user= | |
143 # memcached.password= | |
144 | |
145 # HTTP Response headers control for static files | |
146 # ~~~~~ | |
147 # Set the default max-age, telling the user's browser how long it should cache the page. | |
148 # Default is 3600 (one hour). Set it to 0 to send no-cache. | |
149 # This is only read in prod mode, in dev mode the cache is disabled. | |
150 # http.cacheControl=3600 | |
151 | |
152 # If enabled, Play will generate entity tags automatically and send a 304 when needed. | |
153 # Default is true, set it to false to deactivate use of entity tags. | |
154 # http.useETag=true | |
155 | |
156 # Custom mime types | |
157 # mimetype.xpi=application/x-xpinstall | |
158 | |
159 # WS configuration | |
160 # ~~~~~ | |
161 # Default engine is Async Http Client, uncomment to use | |
162 # the JDK's internal implementation | |
163 # webservice = urlfetch | |
164 # If you need to set proxy params for WS requests | |
165 # http.proxyHost = localhost | |
166 # http.proxyPort = 3128 | |
167 # http.proxyUser = jojo | |
168 # http.proxyPassword = jojo | |
169 | |
170 # Mail configuration | |
171 # ~~~~~ | |
172 # Default is to use a mock Mailer | |
173 mail.smtp=mock | |
174 | |
175 # Or, specify mail host configuration | |
176 # mail.smtp.host=127.0.0.1 | |
177 # mail.smtp.user=admin | |
178 # mail.smtp.pass= | |
179 # mail.smtp.channel=ssl | |
180 | |
181 # Url-resolving in Jobs | |
182 # ~~~~~~ | |
183 # When rendering templates with reverse-url-resoling (@@{..}) in Jobs (which do not have an inbound Http.Request), | |
184 # ie if sending a HtmlMail, Play need to know which url your users use when accessing your app. | |
185 # %test.application.baseUrl=http://localhost:9000/ | |
186 # %prod.application.baseUrl=http://www.yourdomain.com/ | |
187 | |
188 # Jobs executor | |
189 # ~~~~~~ | |
190 # Size of the Jobs pool | |
191 # play.jobs.pool=10 | |
192 | |
193 # Execution pool | |
194 # ~~~~~ | |
195 # Default to 1 thread in DEV mode or (nb processors + 1) threads in PROD mode. | |
196 # Try to keep a low as possible. 1 thread will serialize all requests (very useful for debugging purpose) | |
197 # play.pool=3 | |
198 | |
199 # Open file from errors pages | |
200 # ~~~~~ | |
201 # If your text editor supports opening files by URL, Play! will | |
202 # dynamically link error pages to files | |
203 # | |
204 # Example, for textmate: | |
205 # play.editor=txmt://open?url=file://%s&line=%s | |
206 | |
207 # Testing. Set up a custom configuration for test mode | |
208 # ~~~~~ | |
209 #%test.module.cobertura=${play.path}/modules/cobertura | |
210 %test.application.mode=dev | |
211 %test.db.url=jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0 | |
212 %test.jpa.ddl=create | |
213 %test.mail.smtp=mock | |
214 |