-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
variables.yml
67 lines (67 loc) · 2.93 KB
/
variables.yml
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
# path to directory in which the docker compose configuration will be installed
dest: /root/docker
# which optional services should be started?
services:
# IIIF image service
iiif: true
# Named entity recognition
ner: true
# the domains to be served by the proxy. Each domain may map to a different app and root path
# within the same eXist-db instance
domains:
- name: publisher
# eXist-db path the root of the server will be mapped to. Specifying a path here
# will map the root to one single app. Change to empty string ("") if you want to expose the
# entire database and also set `context_path: auto` below.
# root: /exist/apps/tei-publisher
root: ""
# the name the server should listen to
hostname: dev.tei-publisher.com
# settings for the proxy cache. If enabled, requests to content in reading view will be cached
# unless they have been changed. To detect changes, you must set `caching_support: true` in the
# publisher section below.
#
# In addition you may want to cache other requests by adding them to the list in `urls`. Those
# requests will be statically cached for the duration specified in `expires`.
cache:
# enable caching
enable: true
urls:
# cache pdf, epub, print HTML output in test and doc collections
- /api/document/(test|doc|jats).*/(pdf|epub|print|tex)$
expires: 1d
publisher:
build:
# directory or repository URL containing the Dockerfile to build publisher from
context: .
# use one of the below instead if you want to build from an external git repository (needs a Dockerfile):
# context: https://github.com/eeditiones/tei-publisher-app.git#master
# if the repo is not public, you may need to provide an ACCESS_TOKEN (specify in .env)
# context: https://${ACCESS_TOKEN_NAME}:${ACCESS_TOKEN_VALUE}@gitlab.com/xxx/xxx.git
libs:
templating: 1.1.0
publisher_lib: 4.0.0
roaster: 1.8.1
# list of apps to build. only relevant if context above is .
apps:
# Name of the custom app to include - should correspond to the name of the repository
- name: "tei-publisher-app"
# Tag or branch to build
tag_or_branch: "v9.0.0"
# GIT repository to clone the app from
repo: "https://github.com/eeditiones/tei-publisher-app.git"
# enable to embed webcomponents in the app instead of using external CDN
local_webcomponents: true
# App context path: set to 'auto' if apps should be exposed under their full path
# (e.g. /exist/apps/tei-publisher)
context_path: "auto"
# support cache revalidation: if set, TEI Publisher will respond to the If-Modified-Since header.
# needed if you enable caching in the proxy section above.
caching_support: true
cert:
# should real SSL certificates be requested? set to true during testing to not hit limits
use_staging: false
# email address for notifications concerning SSL certificates
email: [email protected]
iiif:
images: ./iiif