Go to file
Francesco Mangiacrapa d4cd36605a PostgreSQL Performance Tuning for 8GB RAM allocation 2025-11-18 15:44:14 +01:00
ckan-2-6 changed the varibles 2025-11-18 13:54:53 +01:00
postgresql updated the script 2025-11-17 13:09:30 +01:00
solr Replaced ckanext-spatial repository, see #29395 2025-06-11 11:17:50 +02:00
.env set TZ=Europe/Rome 2025-09-30 12:22:46 +02:00
.gitignore added conf/nginx-cors.conf 2025-03-13 12:15:24 +01:00
README.md Updated README 2025-03-21 12:18:46 +01:00
docker-compose.yml added wsgi variables as enviroment variables 2025-11-18 12:12:41 +01:00
docker-compose_ckan_legacy_dev.yml added wsgi variables as enviroment variables 2025-11-18 12:12:41 +01:00
docker-compose_ckan_legacy_prod.yml PostgreSQL Performance Tuning for 8GB RAM allocation 2025-11-18 15:44:14 +01:00
docker-compose_default.yml CKAN setting to 6GB for dev 2025-11-14 15:31:28 +01:00
docker-compose_development.yml added the resources per ckan 2025-11-14 15:09:55 +01:00
istruzioni.txt added wsgi variables as enviroment variables 2025-11-18 12:12:41 +01:00
refs.md first_commit 2025-02-11 00:00:15 +01:00
risorse_per_ckan.md updated 2025-11-14 16:06:13 +01:00

README.md

CKAN 2.6.X + D4Science Customizations Based on Docker

To Build and Run It

docker compose up --build

URLs

CKAN configurations

To update the CKAN configurations/settings use the .env

The CKAN production.ini file is generated from the Docker .env file using /ckan-2-6/conf/production.ini.template

How to has been created the production.ini from the /ckan-2-6/conf/production.ini.template via Docker:
  • In the/ckan-2-6/conf/Dockerfile has been added:
ARG CKAN_INI_TEMPLATE_FILE=production.ini.template

# Install gettext to use envsubst for creating production.ini from production.ini.template
RUN apt-get install -y gettext

# Copy the production.ini.template in the /etc/ckan/default/production.ini
COPY /conf/$CKAN_INI_TEMPLATE_FILE $CKAN_INI.template

  • In the/ckan-2-6/setup/init_ckan.sh has been added:
# Substitute environment variables in the CKAN template file and output to the CKAN production.ini file
envsubst < /etc/ckan/default/production.ini.template > /etc/ckan/default/production.ini
# delete the CKAN template file
rm /etc/ckan/default/production.ini.template

Local Volumes (docker-compose_dev.yml)

  • CKAN
    • No Volume
  • SOLR
    • ./data/solr:/opt/solr/server/solr/ckan/data
  • PostgreSQL
    • ./data/postgresql:/var/lib/postgresql/data

Local Volumes (docker-compose.yml)

  • CKAN
    • No Volume
  • SOLR
    • /data/solr:/opt/solr/server/solr/ckan/data
  • PostgreSQL
    • /data/postgresql:/var/lib/postgresql/data

Authors