-
Notifications
You must be signed in to change notification settings - Fork 8
/
olat.local.properties
126 lines (106 loc) · 5.03 KB
/
olat.local.properties
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
##########
#
# To start, copy this file to olat.local.properties and modify it to fit your needs. Please have a look
# at the file src/main/resources/serviceconfig/olat.properties to get the full list of configuration
# options.
#
##########
########################################################################
# Application data directory.
########################################################################
# runtime application data directory. Tomcat user needs R/W permissions here
installation.dir=_INSTALL_DIR_
userdata.dir=_INSTALL_DIR_/olatdata
########################################################################
# Database settings
########################################################################
db.source=jndi
db.jndi=java:comp/env/jdbc/OpenOLATDS
# supported vendors currently include "mysql" and "postgresql"
db.vendor=_DB_TYPE_
# here you have two options: when you set auto.upgrade.database to true
# the alter scripts in /src/main/resources/database/**/alter**.sql are
# executed automatically. For most cases this is fine. If you set it to
# false however, you must execute those scripts yourself BEFORE starting
# OpenOLAT after an update.
auto.upgrade.database=true
# the name of the application database
db.name=_DB_NAME_
# the name of the OLAT database user
db.user=_DB_USER_
# the password of the OLAT database user
db.pass=_DB_PASS_
# JDBC options (e.g., to set character channel behavior etc.)
db.jdbc.options=useUnicode=true&characterEncoding=UTF-8
########################################################################
# Web application container (e.g., Tomcat) settings
########################################################################
# hosted application fully qualified domain name (e.g., DNS CNAME)
# omit references to protocol/scheme (e.g., HTTP(S))
server.domainname=_DOMAINNAME_
# the port on which the container is listening
server.port=8088
server.contextpath=/openolat
server.port.ssl=0
########################################################################
# SMTP (mail) settings
########################################################################
# mail support can be disabled by leaving the following entry blank or
# setting it to the keyword 'disabled' (without quotes!)
smtp.host=_SMTP_HOST_
smtp.port=_SMTP_PORT_
# enable SSL if your smtp server supports it
smtp.sslEnabled=_SMTP_SSL_
smtp.sslCheckCertificate=_SMTP_CHECK_CERT_
smtp.starttls=_SMTP_STARTTLS_
# if required by your local SMTP you may need to provide credentials
smtp.user=_SMTP_USER_
smtp.pwd=_SMTP_PASS_
# timeout in milliseconds
smtp.timeout=8000
# fix from of the smtp envelope
smtp.from=_SMTP_FROM_
# system mails will be sent from this address (from local domain with valid reverse dns):
fromemail=${smtp.from}
# set this email to a mail address in your domain (used as reply-to address)
adminemail=_SMTP_ADMIN_
# set this email to a mail address in your domain (used for 'ask for help here' type of messages that do not have special address)
supportemail=${adminemail}
# set this email to a mail address in your domain (used to tell users how to apply for more quote disk space)
quotaemail=${supportemail}
# set this email to a mail address in your domain (used to notify when users are deleted from the system)
deleteuseremail=${supportemail}
# set this email to a mail address in your domain (used for red-screen error reports)
erroremail=${adminemail}
########################################################################
# OLAT identity settings
########################################################################
# OLAT instance ID (effects a unique namespace for addressable items)
# ID should be no longer than 10 characters! This needs to be unique
# amongst nodes within a cluster, if you are not clustering then you
# can leave this value as is.
instance.id=myopenolat
tomcat.id=1
########################################################################
# Misc / Developer settings
########################################################################
# for developers set to true - velocity pages are NOT cached
olat.debug=false
# for developers set to false - i18n files are not cached
localization.cache=true
# path to the source code. Use this together with olat.debug=true in a
# development setup. If set properly, velocity templates, i18n files and
# static files like CSS will be reloaded from the source code on each request
# without redeployment of the entire webapp.
#project.build.home.directory=/Users/srosse/workspace/OpenOLAT
user.generateTestUsers=false
# disable full text indexer at startup for development environment
generate.index.at.startup=false
# only set this if you do not want unit tests to be performed during the build
skip.unit.tests=true
# when running in eclipse use "INFO, syslog, A1", for production use "INFO, syslog"
log.rootCategory = INFO, syslog, A1
# path where logfiles will be saved
log.dir=_INSTALL_DIR/logs
security.headers.contentType=false
enforce.utf8.filesystem=false