Initial commit
This commit is contained in:
commit
118b948bd4
59 changed files with 1236 additions and 0 deletions
60
files/docker/templates/SIPconfig.xml
Normal file
60
files/docker/templates/SIPconfig.xml
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
|
||||
<!-- above address gets nothing, it's just a namespace -->
|
||||
<error-detect enabled="true" />
|
||||
|
||||
<!--
|
||||
Set Net::Server::PreFork runtime parameters
|
||||
syslog_ident will identify SIP2 Koha server entries in syslog
|
||||
For OpenSolaris, add: syslog_logsock=stream
|
||||
-->
|
||||
<server-params
|
||||
min_servers='1'
|
||||
min_spare_servers='0'
|
||||
log_file='Sys::Syslog'
|
||||
syslog_ident='koha_sip'
|
||||
syslog_facility='local6'
|
||||
/>
|
||||
|
||||
<listeners>
|
||||
<!-- vestigial HTTP, never implemented: just use the OPAC!
|
||||
<service
|
||||
port="0:8080/tcp"
|
||||
transport="http"
|
||||
protocol="NCIP/1.0" />
|
||||
-->
|
||||
<service
|
||||
port="8023/tcp"
|
||||
transport="telnet"
|
||||
protocol="SIP/2.00"
|
||||
timeout="60" />
|
||||
|
||||
<service
|
||||
port="127.0.0.1:6001/tcp"
|
||||
transport="RAW"
|
||||
protocol="SIP/2.00"
|
||||
client_timeout="600"
|
||||
timeout="60" />
|
||||
<!--- client_timeout times out active connections which have not received
|
||||
input from the client. Many persistent connections will send a status request
|
||||
every 5-7 mins so setting this to less than that will add instability to the connection
|
||||
if explicitly set to zero, no timeout is applied to the connection.
|
||||
NB the parameter timeout applies to the login process only and should be set to a lower value
|
||||
to time out failed connections
|
||||
-->
|
||||
</listeners>
|
||||
|
||||
<accounts>
|
||||
${SIP_CONF_ACCOUNTS}
|
||||
</accounts>
|
||||
|
||||
<!--
|
||||
Institution tags are for enabled branches. There needs to be one
|
||||
institution stanza for each institution named in the accounts above.
|
||||
The implementation attribute is actually used to find the code to run,
|
||||
in our case "ILS".
|
||||
-->
|
||||
|
||||
<institutions>
|
||||
${SIP_CONF_LIBS}
|
||||
</institutions>
|
||||
</acsconfig>
|
||||
61
files/docker/templates/koha-sites.conf
Normal file
61
files/docker/templates/koha-sites.conf
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# NOTE: for a complete list of valid options please read koha-create(8)
|
||||
|
||||
## Apache virtual hosts creation variables
|
||||
#
|
||||
# Please note that the URLs are built like this:
|
||||
# OPAC: http://<OPACPREFIX><INSTANCE NAME><OPACSUFFIX><DOMAIN>:<OPACPORT>
|
||||
# STAFF: http://<INTRAPREFIX><INSTANCE NAME><INTRASUFFIX><DOMAIN>:<INTRAPORT>
|
||||
DOMAIN="${KOHA_DOMAIN}"
|
||||
INTRAPORT="${KOHA_INTRANET_PORT}"
|
||||
INTRAPREFIX="${KOHA_INTRANET_PREFIX}"
|
||||
INTRASUFFIX="${KOHA_INTRANET_SUFFIX}"
|
||||
OPACPORT="${KOHA_OPAC_PORT}"
|
||||
OPACPREFIX="${KOHA_OPAC_PREFIX}"
|
||||
OPACSUFFIX="${KOHA_OPAC_SUFFIX}"
|
||||
|
||||
## Default data to be loaded
|
||||
#
|
||||
# DEFAULTSQL: filename
|
||||
# Specify an SQL file with default data to load during instance creation
|
||||
# default: (empty)
|
||||
DEFAULTSQL=""
|
||||
|
||||
## Zebra global configuration variables
|
||||
#
|
||||
# ZEBRA_MARC_FORMAT: 'marc21' | 'normarc' | 'unimarc'
|
||||
# Specifies the MARC records format for indexing
|
||||
# default: 'marc21'
|
||||
ZEBRA_MARC_FORMAT="${ZEBRA_MARC_FORMAT}"
|
||||
|
||||
# ZEBRA_LANGUAGE: 'cs' | 'en' | 'es' | 'fr' | 'nb' | 'ru' | 'uk'
|
||||
# Primary language for Zebra indexing
|
||||
# default: 'en'
|
||||
ZEBRA_LANGUAGE="${ZEBRA_LANGUAGE}"
|
||||
|
||||
# BIBLIOS_INDEXING_MODE: 'dom' | 'grs1'
|
||||
# Indexing mode for bibliographic records
|
||||
# default: 'dom'
|
||||
BIBLIOS_INDEXING_MODE="${BIBLIOS_INDEXING_MODE}"
|
||||
|
||||
# AUTHORITIES_INDEXING_MODE: 'dom' | 'grs1'
|
||||
# Indexing mode for authority records
|
||||
# default: 'dom'
|
||||
AUTHORITIES_INDEXING_MODE="${AUTHORITIES_INDEXING_MODE}"
|
||||
|
||||
## Memcached global configuration variables
|
||||
#
|
||||
# USE_MEMCACHED: 'yes' | 'no'
|
||||
# Make the created instance use memcached. Can be altered later.
|
||||
# default: 'no'
|
||||
USE_MEMCACHED="${USE_MEMCACHED}"
|
||||
|
||||
# MEMCACHED_SERVERS: comma separated list of memcached servers (ip:port)
|
||||
# Specify a list of memcached servers for the Koha instance
|
||||
# default: '127.0.0.1:11211'
|
||||
MEMCACHED_SERVERS="${MEMCACHED_SERVERS}"
|
||||
|
||||
# MEMCACHED_PREFIX:
|
||||
# Specify a string to be used as prefix for defining the memcached namespace
|
||||
# for the created instance.
|
||||
# default: 'koha_'
|
||||
MEMCACHED_PREFIX="koha_"
|
||||
Loading…
Add table
Add a link
Reference in a new issue