cioos-siooc / ckan

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. CKAN makes it easy to publish, share and use data. It powers datahub.io, catalog.data.gov and europeandataportal.eu/data/en/dataset among many other sites.
http://ckan.org/
Other
2 stars 4 forks source link

build ckan project from docker hub images #36

Closed fostermh closed 4 years ago

fostermh commented 4 years ago

To build ckan and other containers:

cd contrib/docker
docker-compse up -d

you will need to reindex datasets and harvester as this will restart solr

sudo docker exec -it ckan /usr/local/bin/ckan-paster --plugin=ckan search-index rebuild --config=/etc/ckan/production.ini
sudo docker exec -it ckan /usr/local/bin/ckaext-harvest harvester reindex --config=/etc/ckan/production.ini
ogsletcax commented 4 years ago

I suppose that most people when they run docker-compose expect it to use docker-compose.yml. So defaulting to another file would lead to confusion IMO. I would rather prefer to use docker-compose -f docker-cloud.yml up explicitly... Or create a docker-compose.local.yml file and rename docker-cloud.yml with docker-compose.yml

fostermh commented 4 years ago

I suppose that most people when they run docker-compose expect it to use docker-compose.yml. So defaulting to another file would lead to confusion IMO. I would rather prefer to use docker-compose -f docker-cloud.yml up explicitly... Or create a docker-compose.local.yml file and rename docker-cloud.yml with docker-compose.yml

hmm, yes I can see how that could be an issue. Both of your suggestions would work. My thinking is to make it as easy as possible for someone to get an initial system running. To that end, I have a slight preference for renaming the docker-compose files. Do you have a strong preference either way?

ogsletcax commented 4 years ago

No preference. Renaming the compose files sounds good.