-
Notifications
You must be signed in to change notification settings - Fork 5
/
api.config.example
71 lines (58 loc) · 2.44 KB
/
api.config.example
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
# Rename this file to "api.config" to make it active
[apis]
api_version = 3
default_apis_base_url = {{ apis_common_base_URL }}
production_apis_base_url = {{ apis_production_base_URL }}
# if true, blocks all writing behavior
read_only = READ_ONLY_MODE
# the full path to where a local phylesystem.git can be found
repo_path = PHYLESYSTEM_REPO_PATH
repo_parent = PHYLESYSTEM_REPO_PAR
# prefix for new study ids. should be of the form [a-z][a-z]_
# new_study_prefix = zz_
# local paths for minor repos
collections_repo_path = COLLECTIONS_REPO_PATH
collections_repo_parent = COLLECTIONS_REPO_PAR
amendments_repo_path = AMENDMENTS_REPO_PATH
amendments_repo_parent = AMENDMENTS_REPO_PAR
following_repo_path = FOLLOWING_REPO_PATH
following_repo_parent = FOLLOWING_REPO_PAR
# the remote to push changes to
# This will usually be "origin" on a local dev machine where phylesystem.git
# was cloned via SSH ([email protected]:...)
# On deployed servers, which use anonymous git:// protocol, we add a new
# remote "originssh" which can be pushed to
repo_remote = PHYLESYSTEM_REPO_REMOTE
# remotes for minor repos
collections_repo_remote = COLLECTIONS_REPO_REMOTE
amendments_repo_remote = AMENDMENTS_REPO_REMOTE
following_repo_remote = FOLLOWING_REPO_REMOTE
# these allow us to specify the SSH keys that git pushes
# will use. Leave the config keys in this config file,
# without any values assigned, to not use this feature
git_ssh = GIT_SSH
pkey = PKEY
# deprecate these overly-specific base URLs? or copy same value to all?
##oti_base_url = OTI_BASE_URL
##otindex_base_url = OTINDEX_BASE_URL
##collections_api_base_url = COLLECTIONS_API_BASE_URL
##amendments_api_base_url = AMENDMENTS_API_BASE_URL
##favorites_api_base_url = FAVORITES_API_BASE_URL
opentree_docstore_url = OPENTREE_DOCSTORE_URL
# Push scripts will substitute the OTI_BASE_URL server-config variables, shared
# with other apps.
# URLs for minor repos
collections_repo_url = COLLECTIONS_REPO_URL
amendments_repo_url = AMENDMENTS_REPO_URL
following_repo_url = FOLLOWING_REPO_URL
# prefix for the GitHubRemote used in the push mirror
# default is [email protected]:OpenTreeOfLife
# git_hub_remote = [email protected]:OpenTreeOfLife
[logging]
level = OPEN_TREE_API_LOGGING_LEVEL
formatter = OPEN_TREE_API_LOGGING_FORMATTER
filepath = OPEN_TREE_API_LOGGING_FILEPATH
[filesize]
#overrides for peyotl config values in case no peyotl config exists
peyotl_max_file_size = 20000000
validation_max_num_trees = 65