Update node.js (#100)

* feat: Update node from 15 to 20

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

* docs: Add note about walmart and their 18MB headers

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

---------

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
This commit is contained in:
Frostyfrog 2023-11-25 12:18:07 -07:00 committed by GitHub
parent 8219b9a0f3
commit b3146d339f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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
CMD ./Dockerstart.sh

View file

@ -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
```