67 lines
1.2 KiB
YAML
Executable File
67 lines
1.2 KiB
YAML
Executable File
data:
|
|
build: docker/data
|
|
hostname: data
|
|
domainname: localdomain
|
|
|
|
postgres:
|
|
build: docker/postgres
|
|
hostname: postgres
|
|
domainname: localdomain
|
|
ports:
|
|
- "5432:5432"
|
|
volumes_from:
|
|
- data
|
|
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_from:
|
|
- data
|
|
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:
|
|
build: docker/nginx
|
|
hostname: nginx
|
|
domainname: localdomain
|
|
links:
|
|
- ckan:ckan
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
|
|
|