This is a base CKAN image
version: '2'
services:
ckan:
image: vanuan/ckan-base
environment:
- CKAN_SQLALCHEMY_URL=postgres://postgres:pass@postgres/ckan
- CKAN_CONFIG=/etc/ckan
- CKAN_SOLR_URL=http://solr:8983/solr/ckancore
- CKAN_REDIS_URL=redis://redis:6379/1
- CKAN_DATAPUSHER_URL=http://datapusher:8800
- CKAN_SITE_URL=http://localhost:5000
ports:
- 5000:5000
volumes:
- ./config/ckan.ini:/etc/ckan/ckan.ini
depends_on:
- postgres
- solr
- redis
- datapusher
postgres:
image: postgres:9.6-alpine
environment:
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=ckan
- PGDATA=/data
volumes:
- ./data/pgdata:/data
solr:
image: solr:6.6-alpine
volumes:
- ./solr:/opt/solr/server/solr/ckancore/
datapusher:
image: vanuan/ckan-datapusher
redis:
image: redis:4-alpine
To customize it you need to create and install a CKAN extension.
Examples:
Content type
Image
Digest
Size
287.1 MB
Last updated
about 9 years ago
docker pull vanuan/ckan-base