Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenca/ckan-docker
https://github.com/eccenca/ckan-docker
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eccenca/ckan-docker
- Owner: eccenca
- License: other
- Created: 2014-11-18T14:42:31.000Z (about 10 years ago)
- Default Branch: develop
- Last Pushed: 2017-08-14T07:12:41.000Z (over 7 years ago)
- Last Synced: 2024-04-14T11:51:08.978Z (8 months ago)
- Language: Shell
- Size: 65.4 KB
- Stars: 7
- Watchers: 12
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# installation /build-process
## eccenca/baseimage-docker
```
git clone https://github.com/eccenca/baseimage-docker.git
cd baseimage-docker/image
docker build -t eccenca/baseimage:latest .
```## eccenca/ckan
```
git clone --recursive https://github.com/eccenca/ckan-docker.git
cd ckan-docker
docker build -t eccenca/ckan:latest .
```### eccenca/ckan-solr
```
cd ckan-docker/contrib/docker/solr
docker build -t eccenca/ckan-solr:latest .
```### eccenca/ckan-postgresql
```
cd ckan-docker/contrib/docker/postgresql
docker build -t eccenca/ckan-postgresql:latest .
```# run ckan
## solr
```
docker run -d --name ckan_solr eccenca/ckan-solr:latest
```## postgresql
```
docker run -d --name ckan_db eccenca/ckan-postgresql:latest
```## ckan
```
docker run -it --rm --link ckan_solr:solr --link ckan_db:db -p 80:80 --name ckan_ckan eccenca/ckan:latest /bin/bash
```
within the container:
```
/sbin/my_init
```or with
```
docker run -it --rm --link ckan_solr:solr --link ckan_db:db -p 80:80 --name ckan_ckan eccenca/ckan:latest
```### ckan configuration
The ckan.ini configuration file is created during container start. The following configuration parameter can be set on ``docker run`` using the ``-e = [-e ...]``:
* General settings
* ``CKAN_SITE_URL`` (default: http://localhost)
* ``CKAN_DEBUG`` (False)
* ``CKAN_PLUGINS`` - add additional plugins (unset)
* ``DB_FT_SEARCH_LANG`` (english)
* Internationalisation Settings
* ``CKAN_LOCALE`` (en)
* Feeds Settings
* ``CKAN_FEED_AUTHORITY``(unset)
* ``CKAN_FEED_DATE``(unset)
* ``CKAN_FEED_AUTHOR`` (unset)
* ``CKAN_FEED_AUTHOR_LINK`` (unset)
* storage settings
* ``CKAN_STORAGE_PATH`` (/var/lib/ckan)
* activity stream
* ``CKAN_ACTIVITY_STREAM_ENABLED`` (True)
* Email settings
* ``EMAIL_TO`` (ckan-admin@localhost)
* ``EMAIL_FROM`` (ckan_instance@localhost)
* ``EMAIL_SMTP_SERVER`` (smtp.localhost)
* ``EMAIL_SMTP_STARTTLS`` (True)
* ``EMAIL_SMTP_USER`` (EXAMPLEUSER)
* ``EMAIL_SMTP_PASS`` (EXAMPLEPASS)
* ``EMAIL_SMTP_EMAIL_FROM`` (ckan_instance@localhost)