docker-ckan/_etc
Clément MOUCHET 9a20dea6a4 UPDATED:
- CKAN Dockerfile
	- improved caching of common requirements with the Datapusher
	- Added $CKAN_INI env variable
	- downgraded to pip 1.4.1 because 1.5 has a bug with HTTPS proxies https://github.com/pypa/pip/issues/1805
	- fixed incorrect default port exposed
- Fig Dockerfile to 1.0.1
- fig.yml
	- mount the custom_options.ini as a volume
	- use relative path by default
- Documentation
ADDED:
- Datapusher Dockerfile based on fusion baseimage.
2014-11-15 18:02:58 +00:00
..
apache2 Initial commit 2014-10-26 21:21:58 +00:00
ckan Initial commit 2014-10-26 21:21:58 +00: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
nginx 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.