diff options
author | vnugent <public@vaughnnugent.com> | 2024-04-21 12:02:57 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-04-21 12:02:57 -0400 |
commit | d7a3c957467e65ea7176170fba3c280ac18ac17e (patch) | |
tree | 67dd8b62b1b428803c6872fa689b92d95b4467a8 /ci/container | |
parent | 97a5bded5122708cf39d0e86bc24a5f31755bdd1 (diff) |
chore: Package updates and minor QOL patches
Diffstat (limited to 'ci/container')
-rw-r--r-- | ci/container/Dockerfile | 1 | ||||
-rw-r--r-- | ci/container/config-templates/SimpleBookmark-template.json | 20 | ||||
-rw-r--r-- | ci/container/config-templates/config-template.json | 3 | ||||
-rw-r--r-- | ci/container/docker-compose.yaml | 1 |
4 files changed, 14 insertions, 11 deletions
diff --git a/ci/container/Dockerfile b/ci/container/Dockerfile index b7898d4..05517df 100644 --- a/ci/container/Dockerfile +++ b/ci/container/Dockerfile @@ -84,6 +84,7 @@ ENV VNCACHE_CACHE_PUBLIC_KEY="" #HTTP/PROXY Config ENV HTTP_DOWNSTREAM_SERVERS=[] ENV SSL_JSON="{}" +ENV HTTP_TRACE_ON=false #run the init script within dumb-init ENTRYPOINT ["dumb-init", "--"] diff --git a/ci/container/config-templates/SimpleBookmark-template.json b/ci/container/config-templates/SimpleBookmark-template.json index c2bf780..610673e 100644 --- a/ci/container/config-templates/SimpleBookmark-template.json +++ b/ci/container/config-templates/SimpleBookmark-template.json @@ -7,7 +7,7 @@ "path": "/api/bookmarks", //Path for the bookmarks endpoint - "config": { + "config": { "max_limit": 100, //Max results per page "default_limit": 20, //Default results per page "user_quota": ${MAX_BOOKMARKS} //Max bookmarks per user @@ -19,19 +19,17 @@ "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 + "--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 + "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 diff --git a/ci/container/config-templates/config-template.json b/ci/container/config-templates/config-template.json index e226efb..0bd0ddb 100644 --- a/ci/container/config-templates/config-template.json +++ b/ci/container/config-templates/config-template.json @@ -52,6 +52,9 @@ //Collection of objects to define hosts+interfaces to build server listeners from "virtual_hosts": [ { + + "trace": ${HTTP_TRACE_ON}, + //The interface to bind to, you may not mix TLS and non-TLS connections on the same interface "interface": { "address": "0.0.0.0", diff --git a/ci/container/docker-compose.yaml b/ci/container/docker-compose.yaml index 1ffee2f..465615d 100644 --- a/ci/container/docker-compose.yaml +++ b/ci/container/docker-compose.yaml @@ -43,6 +43,7 @@ services: #HTTP HTTP_DOWNSTREAM_SERVERS: '[]' + HTTP_TRACE_ON: "false" #SSL_JSON: '{"cert": "ssl/cert.pem", "privkey":"ssl/priv.pem"}' SERVER_ARGS: "" |