From 91846716a31e0c946f801f54c7b61e2728ae1086 Mon Sep 17 00:00:00 2001 From: Chris Barnett Date: Mon, 8 Jul 2024 21:20:52 -0400 Subject: [PATCH] fix merge errors add config in server-https.xml --- Dockerfile | 7 ------- config/server-https.xml | 23 +++++++++++++++++++++-- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06311db..7f046be 100644 --- a/Dockerfile +++ b/Dockerfile @@ -101,10 +101,6 @@ ENV CONFIG_DIR=/opt/config ENV CONFIG_OVERRIDES_DIR=/opt/config_overrides ENV WEBAPP_CONTEXT=geoserver ENV HEALTHCHECK_URL='' -ENV HTTPS_ENABLED=false -ENV HTTPS_KEYSTORE_FILE=/opt/keystore.jks -ENV HTTPS_KEYSTORE_PASSWORD=changeit -ENV HTTPS_KEY_ALIAS=server ENV HTTPS_ENABLED=false ENV HTTPS_KEYSTORE_FILE=/opt/keystore.jks @@ -157,9 +153,6 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true # See also CIS Docker benchmark and docker best practices RUN chmod +x /opt/*.sh && sed -i 's/\r$//' /opt/startup.sh -ENV WEBAPP_CONTEXT=geoserver -ENV HEALTHCHECK_URL='' - ENTRYPOINT ["bash", "/opt/startup.sh"] WORKDIR /opt diff --git a/config/server-https.xml b/config/server-https.xml index 23c84cf..3c2e40e 100644 --- a/config/server-https.xml +++ b/config/server-https.xml @@ -160,7 +160,7 @@ + unpackWARs="true" autoDeploy="false" deployOnStartup="false"> @@ -174,7 +174,26 @@ - + + +