Docker and Docker Compose installation
Overview
Contains Docker images for the different components of CKAN Cloud and a Docker compose environment (based on ckan) for development and testing Open Data portals.
- Use the deploy in 5 minutes to see
ckan-docker
in 5 minutes ⏱! - Or use Codespaces to test
ckan-docker
in your browser:
This is a custom installation of Docker Compose with specific extensions for spatial data and GeoDCAT-AP/INSPIRE metadata profiles. For official installations, please have a look: CKAN: Source installation.
Available components
Available components:
- CKAN custom multi-stage build with spatial capabilities from ckan-docker-spatial, an image used as a base and built from the official CKAN repo. The following versions of CKAN are available:
CKAN Version | Type | Docker tag | Notes |
---|---|---|---|
2.9.8 | custom image | ghcr.io/mjanez/ckan-spatial:ckan-2.9.8 | Stable version with CKAN 2.9.8 |
2.9.9 | custom image | ghcr.io/mjanez/ckan-docker:ckan-2.9.9 | Stable version with CKAN 2.9.9 |
2.9.10 | custom image | ghcr.io/mjanez/ckan-docker:ckan-2.9.10 | Stable version with CKAN 2.9.10 |
2.9.11 | custom image | ghcr.io/mjanez/ckan-docker:ckan-2.9.11 | Stable version with CKAN 2.9.11 |
2.9.11 | latest custom image | ghcr.io/mjanez/ckan-docker:master | Latest ckan-docker image. |
The non-CKAN images are as follows:
- PostgreSQL: Custom image based on official PostgreSQL image. Database files are stored in a named volume.
- Solr: Custom image based on official CKAN pre-configured Solr image. The index data is stored in a named volume and has a custom spatial schema upgrades. [^2]
- Redis: Standard Redis image
- NGINX: Latest stable nginx image that includes SSL and Non-SSL endpoints.
- ckan-pycsw: Custom image based on pycsw CKAN harvester ISO19139 for INSPIRE Metadata CSW Endpoint.
Optional HTTP Endpoint (docker-compose.apache.yml
):
docker-compose.apache.yml
:- Apache HTTP Server: Custom image based on official latest stable httpd image. Configured to serve multiple routes for the ckan-pycsw CSW endpoint (
{CKAN_SITE_URL}/csw
) and CKAN ({CKAN_SITE_URL}/catalog
). Only HTTP.
- Apache HTTP Server: Custom image based on official latest stable httpd image. Configured to serve multiple routes for the ckan-pycsw CSW endpoint (
The site is configured using environment variables that you can set in the .env
file for an NGINX and ckan-pycsw deployment (default .env.example
), or replace it with the .env.apache.example
for a Apache HTTP Server deployment using the Docker Compose file: docker-compose.apache.yml
.