https://github.com/OpenTreeOfLife/phylesystem-api
Tip revision: 6ced24117dc17b422a9a2d84bfbada8b4e448000 authored by Emily Jane McTavish on 05 March 2024, 18:10:44 UTC
Merge pull request #264 from OpenTreeOfLife/force-collection-download
Merge pull request #264 from OpenTreeOfLife/force-collection-download
Tip revision: 6ced241
api.config.example
# 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 (git@github.com:...)
# 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 git@github.com:OpenTreeOfLife
# git_hub_remote = git@github.com: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