From ab93cb2f31aeac349a70a0bfa2c563a77987aacd Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Wed, 1 Jul 2026 09:38:22 +0100 Subject: [PATCH] Remove dead and stale env vars from docker examples and DeveloperGuide --- DeveloperGuide.md | 5 +---- docker/compose/docker-compose.fat.yml | 1 - docker/compose/docker-compose.yml | 1 - docker/embedded/Dockerfile.fat | 1 - .../docker-compose-latest-fat-endpoints-disabled.yml | 1 - .../embedded/compose/docker-compose-latest-fat-security.yml | 1 - .../compose/docker-compose-latest-security-remote-uno.yml | 1 - docker/embedded/compose/docker-compose-latest-security.yml | 1 - .../embedded/compose/docker-compose-latest-ultra-lite.yml | 1 - scripts/init-without-ocr.sh | 6 ------ testing/compose/docker-compose-keycloak-mcp.yml | 1 - testing/compose/docker-compose-keycloak-oauth.yml | 1 - testing/compose/docker-compose-keycloak-saml.yml | 1 - testing/compose/docker-compose-security-with-login.yml | 1 - testing/compose/docker-compose-security.yml | 1 - testing/compose/docker-compose-ultra-lite.yml | 1 - 16 files changed, 1 insertion(+), 24 deletions(-) diff --git a/DeveloperGuide.md b/DeveloperGuide.md index 23b2652ce1..ffd040318e 100644 --- a/DeveloperGuide.md +++ b/DeveloperGuide.md @@ -238,13 +238,10 @@ services: PGID: 1002 UMASK: "022" SYSTEM_DEFAULTLOCALE: en-US - UI_APPNAME: Stirling-PDF - UI_HOMEDESCRIPTION: Demo site for Stirling-PDF Latest with Security UI_APPNAMENAVBAR: Stirling-PDF Latest SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" restart: on-failure:5 ``` @@ -425,7 +422,7 @@ When using Docker, pass environment variables using the `-e` flag or in your `do Example: ```bash -docker run -p 8080:8080 -e APP_NAME="My PDF Tool" stirling-pdf:full +docker run -p 8080:8080 -e UI_APPNAMENAVBAR="My PDF Tool" stirling-pdf:full ``` Refer to the main README for a full list of customization options. diff --git a/docker/compose/docker-compose.fat.yml b/docker/compose/docker-compose.fat.yml index 215471ab0b..9e5898129f 100644 --- a/docker/compose/docker-compose.fat.yml +++ b/docker/compose/docker-compose.fat.yml @@ -31,7 +31,6 @@ services: SYSTEM_MAXFILESIZE: "200" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" networks: - stirling-network diff --git a/docker/compose/docker-compose.yml b/docker/compose/docker-compose.yml index 577338a90d..f586daf450 100644 --- a/docker/compose/docker-compose.yml +++ b/docker/compose/docker-compose.yml @@ -26,7 +26,6 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" networks: - stirling-network diff --git a/docker/embedded/Dockerfile.fat b/docker/embedded/Dockerfile.fat index 71f2a12414..48bbfc03dd 100644 --- a/docker/embedded/Dockerfile.fat +++ b/docker/embedded/Dockerfile.fat @@ -106,7 +106,6 @@ ENV VERSION_TAG=$VERSION_TAG \ PGID=1000 \ UMASK=022 \ FAT_DOCKER=true \ - INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false \ STIRLING_TEMPFILES_DIRECTORY=/tmp/stirling-pdf \ TMPDIR=/tmp/stirling-pdf \ TEMP=/tmp/stirling-pdf \ diff --git a/docker/embedded/compose/docker-compose-latest-fat-endpoints-disabled.yml b/docker/embedded/compose/docker-compose-latest-fat-endpoints-disabled.yml index c1d2360b53..2f8f8846a8 100644 --- a/docker/embedded/compose/docker-compose-latest-fat-endpoints-disabled.yml +++ b/docker/embedded/compose/docker-compose-latest-fat-endpoints-disabled.yml @@ -37,5 +37,4 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" restart: unless-stopped diff --git a/docker/embedded/compose/docker-compose-latest-fat-security.yml b/docker/embedded/compose/docker-compose-latest-fat-security.yml index 7efa65a718..b676dc4b18 100644 --- a/docker/embedded/compose/docker-compose-latest-fat-security.yml +++ b/docker/embedded/compose/docker-compose-latest-fat-security.yml @@ -36,5 +36,4 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" restart: unless-stopped diff --git a/docker/embedded/compose/docker-compose-latest-security-remote-uno.yml b/docker/embedded/compose/docker-compose-latest-security-remote-uno.yml index 4f57adfa49..8ef3ad2d5d 100644 --- a/docker/embedded/compose/docker-compose-latest-security-remote-uno.yml +++ b/docker/embedded/compose/docker-compose-latest-security-remote-uno.yml @@ -45,7 +45,6 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" depends_on: unoserver1: condition: service_healthy diff --git a/docker/embedded/compose/docker-compose-latest-security.yml b/docker/embedded/compose/docker-compose-latest-security.yml index 42f9946dc0..e1ffb0d431 100644 --- a/docker/embedded/compose/docker-compose-latest-security.yml +++ b/docker/embedded/compose/docker-compose-latest-security.yml @@ -33,5 +33,4 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" restart: on-failure:5 diff --git a/docker/embedded/compose/docker-compose-latest-ultra-lite.yml b/docker/embedded/compose/docker-compose-latest-ultra-lite.yml index 11174d1064..d0fd860273 100644 --- a/docker/embedded/compose/docker-compose-latest-ultra-lite.yml +++ b/docker/embedded/compose/docker-compose-latest-ultra-lite.yml @@ -30,5 +30,4 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" restart: unless-stopped diff --git a/scripts/init-without-ocr.sh b/scripts/init-without-ocr.sh index c55dc1e6d4..f0ed03bb8c 100755 --- a/scripts/init-without-ocr.sh +++ b/scripts/init-without-ocr.sh @@ -857,12 +857,6 @@ fi chmod 700 "${XDG_RUNTIME_DIR}" 2>/dev/null || true log "XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR}" -# ---------- Optional ---------- -# Disable advanced HTML operations if required. -if [[ "${INSTALL_BOOK_AND_ADVANCED_HTML_OPS:-false}" == "true" && "${FAT_DOCKER:-true}" != "true" ]]; then - log "issue with calibre in current version, feature currently disabled on Stirling-PDF" -fi - # Download security JAR in non-fat builds. if [[ "${FAT_DOCKER:-true}" != "true" && -x /scripts/download-security-jar.sh ]]; then /scripts/download-security-jar.sh || true diff --git a/testing/compose/docker-compose-keycloak-mcp.yml b/testing/compose/docker-compose-keycloak-mcp.yml index 3de0e99633..3f5fb09dc4 100644 --- a/testing/compose/docker-compose-keycloak-mcp.yml +++ b/testing/compose/docker-compose-keycloak-mcp.yml @@ -120,7 +120,6 @@ services: DISABLE_ADDITIONAL_FEATURES: "false" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "false" - SHOW_SURVEY: "false" depends_on: keycloak-mcp: diff --git a/testing/compose/docker-compose-keycloak-oauth.yml b/testing/compose/docker-compose-keycloak-oauth.yml index 1bfb9134aa..805b556aed 100644 --- a/testing/compose/docker-compose-keycloak-oauth.yml +++ b/testing/compose/docker-compose-keycloak-oauth.yml @@ -113,7 +113,6 @@ services: DISABLE_ADDITIONAL_FEATURES: "false" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "false" - SHOW_SURVEY: "false" depends_on: keycloak-oauth: diff --git a/testing/compose/docker-compose-keycloak-saml.yml b/testing/compose/docker-compose-keycloak-saml.yml index 6b031a74c7..98fdf2acbe 100644 --- a/testing/compose/docker-compose-keycloak-saml.yml +++ b/testing/compose/docker-compose-keycloak-saml.yml @@ -147,7 +147,6 @@ services: DISABLE_ADDITIONAL_FEATURES: "false" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "false" - SHOW_SURVEY: "false" depends_on: keycloak-saml: diff --git a/testing/compose/docker-compose-security-with-login.yml b/testing/compose/docker-compose-security-with-login.yml index 7199d09171..85aa8ff6d9 100644 --- a/testing/compose/docker-compose-security-with-login.yml +++ b/testing/compose/docker-compose-security-with-login.yml @@ -34,7 +34,6 @@ services: METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" SECURITY_CUSTOMGLOBALAPIKEY: "123456789" - SHOW_SURVEY: "true" networks: - stirling-network diff --git a/testing/compose/docker-compose-security.yml b/testing/compose/docker-compose-security.yml index 4454cb275f..445571f5cb 100644 --- a/testing/compose/docker-compose-security.yml +++ b/testing/compose/docker-compose-security.yml @@ -30,7 +30,6 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" networks: - stirling-network diff --git a/testing/compose/docker-compose-ultra-lite.yml b/testing/compose/docker-compose-ultra-lite.yml index ab3a942809..c7917705dd 100644 --- a/testing/compose/docker-compose-ultra-lite.yml +++ b/testing/compose/docker-compose-ultra-lite.yml @@ -30,7 +30,6 @@ services: SYSTEM_MAXFILESIZE: "100" METRICS_ENABLED: "true" SYSTEM_GOOGLEVISIBILITY: "true" - SHOW_SURVEY: "true" networks: - stirling-network