- CKAN Dockerfile - improved caching of common requirements with the Datapusher - Added $CKAN_INI env variable - downgraded to pip 1.4.1 because 1.5 has a bug with HTTPS proxies https://github.com/pypa/pip/issues/1805 - fixed incorrect default port exposed - Fig Dockerfile to 1.0.1 - fig.yml - mount the custom_options.ini as a volume - use relative path by default - Documentation ADDED: - Datapusher Dockerfile based on fusion baseimage.
58 lines
1.1 KiB
YAML
Executable File
58 lines
1.1 KiB
YAML
Executable File
postgres:
|
|
build: docker/postgres
|
|
hostname: postgres
|
|
domainname: localdomain
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- CKAN_PASS=ckan_pass
|
|
- DATASTORE_PASS=datastore_pass
|
|
|
|
solr:
|
|
build: docker/solr
|
|
hostname: solr
|
|
domainname: localdomain
|
|
ports:
|
|
- "8983:8983"
|
|
volumes:
|
|
- ./_src/ckan/ckan/config/solr/schema.xml:/opt/solr/example/solr/ckan/conf/schema.xml
|
|
|
|
datapusher:
|
|
build: _service-provider/datapusher
|
|
hostname: datapusher
|
|
domainname: localdomain
|
|
ports:
|
|
- "8800:8800"
|
|
|
|
ckan:
|
|
build: .
|
|
hostname: ckan
|
|
domainname: localdomain
|
|
ports:
|
|
- "2222:22"
|
|
- "5000:5000"
|
|
- "8080:8080"
|
|
links:
|
|
- postgres:postgres
|
|
- solr:solr
|
|
- datapusher:datapusher
|
|
command: /sbin/my_init --enable-insecure-key
|
|
volumes:
|
|
- ./_src:/usr/lib/ckan/default/src
|
|
- ./_etc/ckan/custom_options.ini:/etc/ckan/default/custom_options.ini
|
|
- ./_etc/supervisor/conf.d:/etc/supervisor/conf.d
|
|
|
|
nginx:
|
|
image: nginx:1.7.6
|
|
hostname: nginx
|
|
domainname: localdomain
|
|
links:
|
|
- ckan:ckan
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./_etc/nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
|
|
|