-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
51 lines (50 loc) · 1.14 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
version: '2'
services:
nginx:
image: nginx
links:
- ckan
restart: always
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
ckan:
image: codefordc2/cfdc-ckan:latest
restart: on-failure
volumes:
- ./ckanext:/usr/lib/ckan/default/ckanext-open_data_dc/ckanext
- ./etc/development:/etc/ckan/default
links:
- db
- solr
- redis
environment:
- DB_PORT_5432_TCP_ADDR=db
- DB_PORT_5432_TCP_PORT=5432
- SOLR_PORT_8983_TCP_ADDR=solr
- REDIS_PORT_6379_TCP_ADDR=redis
- REDIS_PORT_6379_TCP_PORT=6379
- SOLR_PORT_8983_TCP_PORT=8983
- CKAN_CONFIG=/etc/ckan/default
- DB_ENV_POSTGRES_USER=ckan
- DB_ENV_POSTGRES_PASSWORD=ckan
- CKAN_SITE_URL=http://nginx
db:
image: codefordc2/ckan-postgresql:latest
restart: on-failure
solr:
image: codefordc2/ckan-solr
restart: on-failure
redis:
image: redis:latest
restart: on-failure
datapusher:
image: easyckan/ckan-datapusher:2.6
restart: on-failure
links:
- db
- nginx
- ckan
ports:
- "8800:8800"