From c11b02515a788d9067ac2e1e032b4c7fcd736e2f Mon Sep 17 00:00:00 2001 From: technorabilia Date: Mon, 15 Jan 2024 01:25:04 +0000 Subject: [PATCH] Workflow update --- lsio/lychee/docker-compose.yaml | 4 ++-- lsio/lychee/docker-run.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lsio/lychee/docker-compose.yaml b/lsio/lychee/docker-compose.yaml index 7b9c4f9..05ad9b3 100644 --- a/lsio/lychee/docker-compose.yaml +++ b/lsio/lychee/docker-compose.yaml @@ -32,8 +32,8 @@ services: - APP_NAME=Lychee # optional # The URL you will use to access Lychee including protocol, and port where appropriate. - APP_URL= # optional - # Set to `true` if running behind an https reverse proxy. - - APP_FORCE_HTTPS= # optional + # Set to the IP or netmask covering your reverse proxy, if running behind one. Set to `*` to trust all IPs (**do not** use `*` if exposed to the internet`). + - TRUSTED_PROXIES= # optional volumes: # Persistent config files. - ${BASEDIR:-/volume1/docker}/lychee/config:/config diff --git a/lsio/lychee/docker-run.sh b/lsio/lychee/docker-run.sh index 0ebcf08..7a5a44d 100644 --- a/lsio/lychee/docker-run.sh +++ b/lsio/lychee/docker-run.sh @@ -17,7 +17,7 @@ docker run -d \ -e DB_DATABASE= `# Path to DB file for `sqlite`. DB name for `mysql` and `pgsql`.` \ -e APP_NAME=Lychee `# optional` `# The gallery name.` \ -e APP_URL= `# optional` `# The URL you will use to access Lychee including protocol, and port where appropriate.` \ - -e APP_FORCE_HTTPS= `# optional` `# Set to `true` if running behind an https reverse proxy.` \ + -e TRUSTED_PROXIES= `# optional` `# Set to the IP or netmask covering your reverse proxy, if running behind one. Set to `*` to trust all IPs (**do not** use `*` if exposed to the internet`).` \ -p 80:80 `# http gui` \ -v ${BASEDIR:-/volume1/docker}/lychee/config:/config `# Persistent config files.` \ -v ${BASEDIR:-/volume1/docker}/lychee/pictures:/pictures `# Where lychee will store uploaded images.` \