forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·66 lines (58 loc) · 1.22 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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:80"
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