aboutsummaryrefslogtreecommitdiff
path: root/ci/config-templates/SimpleBookmark-template.json
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config-templates/SimpleBookmark-template.json')
-rw-r--r--ci/config-templates/SimpleBookmark-template.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/ci/config-templates/SimpleBookmark-template.json b/ci/config-templates/SimpleBookmark-template.json
new file mode 100644
index 0000000..8736d8d
--- /dev/null
+++ b/ci/config-templates/SimpleBookmark-template.json
@@ -0,0 +1,35 @@
+{
+
+ //Comments are allowed
+ "debug": ${DEBUG_PLUGINS}, //Enables obnoxious debug logging
+
+ "bm_endpoint": {
+
+ "path": "/api/bookmarks", //Path for the bookmarks endpoint
+
+ "config": {
+ "max_limit": 100, //Max results per page
+ "default_limit": 20, //Default results per page
+ "user_quota": ${MAX_BOOKMARKS} //Max bookmarks per user
+ }
+ },
+
+ //System website lookup endpoint (aka curl)
+ "curl": {
+ "path": "/api/lookup",
+ "exe_path": "curl", //Path to the curl executable
+ "extra_args": [
+ "--globoff", //Disables unsafe url globbing
+ "--no-keepalive", //Disables keepalive, uneeded for a single lookup request
+ "--max-filesize", "100K", //Max file size 100K
+ "--max-redirs", "5", //Max redirects 5
+ "--location" //Follow redirects
+ ]
+ },
+
+ "registration": {
+ "path": "/api/register", //Path for the registration endpoint
+ "token_lifetime_mins": ${REG_TOKEN_DURATION_MIN}, //Token lifetime in minutes
+ "key_regen_interval_mins": ${REG_TOKEN_DURATION_MIN}0 //Signing key regeneration interval in minutes
+ }
+} \ No newline at end of file