From b3146d339fa471b14594eae2ffbf061a120d0046 Mon Sep 17 00:00:00 2001 From: Frostyfrog Date: Sat, 25 Nov 2023 12:18:07 -0700 Subject: [PATCH] Update node.js (#100) * feat: Update node from 15 to 20 Signed-off-by: Colton Wolkins (Laptop) * docs: Add note about walmart and their 18MB headers Signed-off-by: Colton Wolkins (Laptop) --------- Signed-off-by: Colton Wolkins (Laptop) --- Dockerfile | 4 ++-- README.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3caea14..d3b4121 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:15-alpine +FROM node:20-alpine RUN apk --no-cache add curl @@ -19,4 +19,4 @@ ENV DB_PREFIX /data/dbs/ ENV SECRET_DIRNAME /data -CMD ./Dockerstart.sh \ No newline at end of file +CMD ./Dockerstart.sh diff --git a/README.md b/README.md index 5acb686..0ebba49 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,10 @@ services: # (for weddings, birthdays, etc. only the admin account's list is accessible) # Set to 'true' to enable SINGLE_LIST: 'false' + # Some websites (like walmart) send headers that are larger than 8MB in + # length. If issues are encountered, set the node.js limit to a higher + # number than 8192 + #NODE_OPTIONS: "--max-http-header-size=32768" restart: always ```