docker-ckan/_etc
Matt dcf7b52039 Remove pdf_view from default plugins
When using CKAN 2.3, pdf_view prompts a misleading Postgres error if the pdf_view plugin is not separately installed.
2015-03-26 12:49:50 -04:00
..
apache2 changed default port to avoid CORS issues 2014-12-14 15:00:44 +00:00
ckan Remove pdf_view from default plugins 2015-03-26 12:49:50 -04:00
cron.d Initial commit 2014-10-26 21:21:58 +00:00
my_init.d Initial commit 2014-10-26 21:21:58 +00:00
postfix Initial commit 2014-10-26 21:21:58 +00:00
supervisor/conf.d UPDATED: 2014-11-15 18:02:58 +00:00
README.md Initial commit 2014-10-26 21:21:58 +00:00

README.md

_etc

This directory contains configuration files that are copied to /etc in the container when the Docker file is built, and when a child is built.

Customisation

  • Apache config
  • CKAN config
    • You can specify custom options in the custom_options.ini file, they will be applied to the default ini file.
    • or override the default (generated) config with a volume
    • filenames (of the config & custom_options file) can be overriden with environment variables
  • Cron jobs
  • Postfix config
  • Supervisor managed processes

Ngnix is not installed in the CKAN container anymore. Use the official Ngnix container, or a custom built container instead

  • Nginx conf is stored in this folder for consistency.
  • The default config uses "ckan" as a hostname, the corresponding IP address is resolved by linking the ckan container, which adds an entry in /etc/hosts inside the container. Make sure you link your CKAN container as my_ckan:ckan or change the config.

Usage

Building the CKAN image

i.e. This docker file

This will copy the files using the Docker ADD instruction

Building a child image

i.e. A different Docker from the CKAN image (downstream build)

This will override the files using the Docker ONBUILD instruction

This means that when building a child image, you should have the same directory structure.