okfn/docker-fiware-ckan

Name: docker-fiware-ckan

Owner: Open Knowledge International

Description: Docker and Docker compose configuration for the FIWARE CKAN instance

Created: 2015-12-04 14:45:14.0

Updated: 2018-01-30 20:48:06.0

Pushed: 2017-06-19 11:59:16.0

Homepage: null

Size: 37

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Docker files for FIWARE Labs flavoured CKAN

Docker hub

CKAN is a powerful Data Management system used to power Open Data catalogues across the world, including many national portals. It has many publishing and curating features and offers a full API to access both the metadata and certain data formats.

Full documentation for CKAN can be found at http://docs.ckan.org.

How to use these Docker files

Using Docker Compose (recommended)

This option requires Docker Compose to be installed.

Docker Compose will take care of running and linking the following services:

To run a CKAN instance with the FIWARE Labs extensions enabled, clone this repository and run:

er-compose up -d

After a few minutes you will be able to access the CKAN site at http://localhost:8000

CKAN FIWARE

NOTE: the oauth2 authorization extension is not enabled by default as it requires further configuration. Edit the relevant settings on setup/production.ini. You may need to set the OAUTHLIB_INSECURE_TRANSPORT env var if not serving CKAN under https, check the documentation for details.

Customizing the image
Running the image directly

If you want to set up the Postgres and Solr servers separately you can run the image directly with the following command:

er run -p 8000:8000 -e CKAN_SQLALCHEMY_URL=postgresql://ckan_default:pass@localhost/ckan_default -e CKAN_SOLR_URL=http://localhost:8983 -e CKAN_SITE_URL=http://localhost:8000 fiware/ckan

You might want to use a .env file to define all your environment variables and pass that as a parameter:

er run -p 8000:8000 --env-file=.env fiware/ckan

Known issues


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.