From 0335a84b5166b11bc162e9c70c60b9386145aefa Mon Sep 17 00:00:00 2001 From: "stojanovskis1@icloud.com" Date: Thu, 9 Feb 2023 13:38:00 +0100 Subject: [PATCH] added beaker-session-secret --- images/ckan/2.7/Dockerfile.focal | 1 + images/ckan/2.8/Dockerfile.focal | 1 + images/ckan/2.9/Dockerfile.focal | 1 + 3 files changed, 3 insertions(+) diff --git a/images/ckan/2.7/Dockerfile.focal b/images/ckan/2.7/Dockerfile.focal index 5e0cfbc..4bd14db 100644 --- a/images/ckan/2.7/Dockerfile.focal +++ b/images/ckan/2.7/Dockerfile.focal @@ -205,6 +205,7 @@ RUN pip install -e /srv/app/src/ckan && \ # Create and update CKAN config # Generate CKAN config paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \ + paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Set the default level for extensions to INFO paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \ diff --git a/images/ckan/2.8/Dockerfile.focal b/images/ckan/2.8/Dockerfile.focal index 2e1790f..1abcc72 100644 --- a/images/ckan/2.8/Dockerfile.focal +++ b/images/ckan/2.8/Dockerfile.focal @@ -191,6 +191,7 @@ RUN pip install -e /srv/app/src/ckan && \ # Create and update CKAN config # Generate CKAN config paster --plugin=ckan make-config ckan ${APP_DIR}/production.ini && \ + paster --plugin=ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ paster --plugin=ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Set the default level for extensions to INFO paster --plugin=ckan config-tool ${APP_DIR}/production.ini -s logger_ckanext -e level=INFO && \ diff --git a/images/ckan/2.9/Dockerfile.focal b/images/ckan/2.9/Dockerfile.focal index 369d7fd..6e68751 100644 --- a/images/ckan/2.9/Dockerfile.focal +++ b/images/ckan/2.9/Dockerfile.focal @@ -210,6 +210,7 @@ RUN pip install -e /srv/app/src/ckan && \ # Generate CKAN config ckan generate config ${APP_DIR}/production.ini && \ # Configure plugins + ckan config-tool ${APP_DIR}/production.ini "beaker.session.secret = " && \ ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}" && \ # Create the data directory mkdir ${DATA_DIR} && \