127 lines
4.8 KiB
Properties
127 lines
4.8 KiB
Properties
# -----------------------------------------------------------------------------
|
|
#
|
|
# Vitro deployment properties
|
|
#
|
|
# This file is provided as example.deploy.properties.
|
|
#
|
|
# Save a copy of this file as deploy.properties, and edit the properties as
|
|
# needed for your deployment.
|
|
#
|
|
# -----------------------------------------------------------------------------
|
|
|
|
#
|
|
# This namespace will be used when generating URIs for objects created in the
|
|
# editor. In order to serve linked data, the default namespace must be composed
|
|
# as follows (optional elements in parentheses):
|
|
#
|
|
# scheme + server_name (+ port) (+ servlet_context) + "/individual/"
|
|
#
|
|
# For example, Cornell's default namespace is:
|
|
#
|
|
# http://vivo.cornell.edu/individual/
|
|
#
|
|
Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
|
|
|
|
#
|
|
# The base install directory for your Tomcat server. The Vitro application
|
|
# will be deployed in the /webapps directory below this base.
|
|
#
|
|
tomcat.home = /usr/local/tomcat
|
|
|
|
#
|
|
# The name of the Vitro application. This will be used as the name of the
|
|
# subdirectory within your Tomcat server's /webapps directory. It also appears
|
|
# in the URL for the application. For example, http://my.vitro.server/vitro
|
|
#
|
|
webapp.name = vitro
|
|
|
|
#
|
|
# URL of Solr context used in local Vitro search. This will usually consist of:
|
|
# scheme + server_name + port + vitro_webapp_name + "solr"
|
|
# In the standard installation, the Solr context will be on the same server as Vitro,
|
|
# and in the same Tomcat instance. The path will be the Vitro webapp.name (specified
|
|
# above) + "solr"
|
|
# Example:
|
|
# vitro.local.solr.url = http://localhost:8080/vitrosolr
|
|
vitro.local.solr.url = http://localhost:8080/vitrosolr
|
|
|
|
#
|
|
# Restricts access to the Solr search platform. One or more regular expressions,
|
|
# separated by commas. When a request is made to Solr, the IP address of the
|
|
# requestor must match one of the patterns, or the request will be rejected.
|
|
# Examples:
|
|
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1
|
|
# vitro.local.solr.ipaddress.mask = 127\.0\.0\.1,0:0:0:0:0:0:0:1
|
|
# vitro.local.solr.ipaddress.mask = 169.254.*
|
|
# If this expression doesn't match the IP address, you will see SolrExceptions
|
|
# in the log.
|
|
vitro.local.solr.ipaddress.mask = 127\.0\.0\.1,[0:]+:1[^:]*,
|
|
|
|
|
|
#
|
|
# The location where the Vitro application will store the data that it creates.
|
|
# This includes uploaded files (usually images) and the search index.
|
|
#
|
|
vitro.home.directory = /usr/local/vitro/data
|
|
|
|
#
|
|
# Email parameters which VIVO can use to send mail. If these are left empty,
|
|
# the "Contact Us" form will be disabled and users will not be notified of
|
|
# changes to their accounts.
|
|
#
|
|
email.smtpHost = smtp.my.domain.edu
|
|
email.replyTo = vivoAdmin@my.domain.edu
|
|
|
|
#
|
|
# The basic parameters for a MySQL database connection. Change the end of the
|
|
# URL to reflect your database name (if it is not "vitro"). Change the username
|
|
# and password to match the authorized user you created in MySQL.
|
|
#
|
|
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitro
|
|
VitroConnection.DataSource.username = vitroweb
|
|
VitroConnection.DataSource.password = vitrovitro
|
|
|
|
#
|
|
# The maximum number of active connections in the database connection pool.
|
|
# Increase this value to support a greater number of concurrent page requests.
|
|
#
|
|
VitroConnection.DataSource.pool.maxActive = 40
|
|
|
|
#
|
|
# The maximum number of database connections that will be allowed
|
|
# to remain idle in the connection pool. Default is 25%
|
|
# of the maximum number of active connections.
|
|
#
|
|
VitroConnection.DataSource.pool.maxIdle = 10
|
|
|
|
#
|
|
# Parameters to change in order to use VIVO with a database other than
|
|
# MySQL.
|
|
#
|
|
VitroConnection.DataSource.dbtype = MySQL
|
|
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
|
|
VitroConnection.DataSource.validationQuery = SELECT 1
|
|
|
|
#
|
|
# The email address of the root user for the VIVO application. The password
|
|
# for this user is initially set to "rootPassword", but you will be asked to
|
|
# change the password the first time you log in.
|
|
#
|
|
rootUser.emailAddress = root@myDomain.com
|
|
|
|
#
|
|
# How is a logged-in user associated with a particular Individual? One way is
|
|
# for the Individual to have a property whose value is the username of the user.
|
|
# This is the name of that property.
|
|
#
|
|
selfEditing.idMatchingProperty = http://vitro.mydomain.edu/ns#networkId
|
|
|
|
#
|
|
# If an external authentication system like Shibboleth or CUWebAuth is to be
|
|
# used, these properties say how the login button should be labeled, and which
|
|
# HTTP header will contain the user ID from the authentication system. If such
|
|
# as system is not to be used, leave these commented out. Consult the
|
|
# installation instructions for more details.
|
|
#
|
|
#externalAuth.buttonText = Log in using BearCat Shibboleth
|
|
#externalAuth.netIdHeaderName = remote_userID
|