-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
81 lines (76 loc) · 2.45 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "2"
networks:
default:
services:
solr:
image: solr:7.7.3-slim
environment:
SOLR_OPTS: -Dsolr.jetty.request.header.size=65536 -Dsolr.dns.prevent.reverse.lookup
ZK_HOST: zookeeper:2181
ulimits:
nofile:
soft: 65000
hard: 65000
hostname: solr
container_name: solr
volumes:
- "./ckanext-hdx_search/ckanext/hdx_search/:/configsets"
zookeeper:
image: zookeeper:3.6
hostname: zookeeper
container_name: zookeeper
environment:
ZOO_SERVERS: server.1=zookeeper:2888:3888;2181
ZOO_STANDALONE_ENABLED: 'true'
ZOO_LOG4J_PROP: 'INFO,ROLLINGFILE'
db:
image: unocha/alpine-postgres:201703-PR116
hostname: db
container_name: db
environment:
PGSQL_DB: '${PGSQL_DB}'
PGSQL_USER: '${PGSQL_USER}'
PGSQL_PASS: '${PGSQL_PASS}'
networks:
default:
aliases:
- dbckan
ckan:
build:
context: ./
dockerfile: Dockerfile
hostname: ckan
depends_on:
- db
- solr
volumes:
- "./.git:/srv/ckan/.git"
environment:
HDX_HOURS_MIXPANEL_CACHE: 1
HDX_CKANDB_ADDR: 'dbckan'
HDX_CKANDB_PORT: 5432
HDX_CKANDB_DB: '${PGSQL_DB}'
HDX_CKANDB_USER: '${PGSQL_USER}'
HDX_CKANDB_PASS: '${PGSQL_PASS}'
HDX_CKANDB_USER_DATASTORE: 'datastore'
HDX_CKANDB_DB_DATASTORE: 'datastore'
HDX_CKANDB_DB_TEST: '${PGSQL_DB}'
HDX_CKANDB_DB_TEST_DATASTORE: 'datastore'
HDX_CKANDB_PASS_DATASTORE: 'datastore'
HDX_DOMAIN: humdata.org
HDX_FILESTORE: /srv/filestore
HDX_SOLR_ADDR: solr
HDX_SOLR_PORT: 8983
HDX_TYPE: ${HDX_TYPE}
HDX_SMTP_ADDR: localhost
HDX_SMTP_PORT: 25
HDX_SMTP_USER: ''
HDX_SMTP_PASS: ''
HDX_SMTP_TLS: 'False'
GITHUB_TOKEN: ${GITHUB_TOKEN:-NO_TOKEN_PROVIDED}
COVERALLS_REPO_TOKEN: ${COVERALLS_REPO_TOKEN:-NO_TOKEN_PROVIDED}
AWS_ACCESS_KEY_ID: RANDOM_KEY
AWS_SECRET_ACCESS_KEY: RANDOM_SECRET_KEY
AWS_BUCKET_NAME: RANDOM_BUCKET
REGION_NAME: eu-central-1
HDX_ENABLED_PLUGINS: dcat dcat_json_interface structured_data hdx_dataviz expire_api_token hdx_hxl_preview ytp_request hdx_pages hdx_choropleth_map_view hdx_geopreview_view hdx_chart_views hdx_service_checker hdx_analytics hdx_search sitemap hdx_org_group hdx_group hdx_package hdx_user_extra hdx_mail_validate hdx_users hdx_theme security requestdata showcase resource_proxy text_view recline_view datastore