From 022dedac593a6cf5dd23fd3d65f3f1f888867348 Mon Sep 17 00:00:00 2001 From: Jean-Michel Lord Date: Mon, 27 May 2024 09:44:01 -0400 Subject: [PATCH] Added runner sample --- runner-sample.env | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 runner-sample.env diff --git a/runner-sample.env b/runner-sample.env new file mode 100644 index 00000000..1f20e875 --- /dev/null +++ b/runner-sample.env @@ -0,0 +1,37 @@ +# The following properties will be accessed by the scripts and server at runtime. +# Those marked as conditionnal will be required only by some scripts, so they might not be necessary +# depending on the pipelines that tou intend to run. +# BON in a Box server needs to be restarted for any change of environment variable to take effect. + + +# Access GBIF API (conditionnal) +GBIF_USER= +GBIF_PWD= +GBIF_EMAIL= + +# Access the planetary computer APIs (conditionnal) +JUPYTERHUB_API_TOKEN= +DASK_GATEWAY__AUTH__TYPE= +DASK_GATEWAY__CLUSTER__OPTIONS__IMAGE= +DASK_GATEWAY__ADDRESS= +DASK_GATEWAY__PROXY_ADDRESS= + +# Access Red List Index (conditionnal) +IUCN_TOKEN= + +# Allows to save the pipeline directly to the server in the Pipeline Editor. +# This API can be blocked on some infrastructures by changing this value. +# - deny: Saving will be rejected by server. In the UI, "Save to clipboard" button can be used. +# - allow, or anything else: "Save" and "Save as" buttons available in the UI. +SAVE_PIPELINE_TO_SERVER=allow + +# Script server cache option: +# - full: when a script file changes, all related caches are cleared. +# - partial: when a script file changes, cache is only overriden when running with the same inputs. +# NB: applied on next docker compose up +SCRIPT_SERVER_CACHE_CLEANER=full + +# Optional: By default, server starts on localhost with port 80. +# If port 80 is already in use on your server, specify another port here. +# The UI will be visible in http://localhost:81 if HTTP_PORT=81 +#HTTP_PORT=81 \ No newline at end of file