This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
forked from okfn/docker-ckan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
75 lines (62 loc) · 2.69 KB
/
.env.example
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
# https://github.com/okfn/ckanext-envvars
# DB image settings
POSTGRES_PASSWORD=ckan
DATASTORE_READONLY_PASSWORD=datastore
DATAPUSHER_PASSWORD=datapusher
DATAPUSHER_JOBS_PASSWORD=datapusher_jobs
# Basic
CKAN_SITE_ID=default
CKAN_SITE_URL=http://ckan:5000
CKAN_PORT=5000
CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
# See https://docs.ckan.org/en/latest/maintaining/configuration.html#api-token-settings
CKAN___API_TOKEN__JWT__ENCODE__SECRET=string:CHANGE_ME
CKAN___API_TOKEN__JWT__DECODE__SECRET=string:CHANGE_ME
CKAN_SYSADMIN_NAME=ckan_admin
CKAN_SYSADMIN_PASSWORD=test1234
TZ=UTC
# Database connections (TODO: avoid duplication)
CKAN_SQLALCHEMY_URL=postgresql://ckan:ckan@db/ckan
CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore
CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@db/datastore
# Test database connections
TEST_CKAN_SQLALCHEMY_URL=postgres://ckan:ckan@db/ckan_test
TEST_CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore_test
TEST_CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@db/datastore_test
# Other services connections
CKAN_SOLR_URL=http://solr:8983/solr/ckan
CKAN_REDIS_URL=redis://redis:6379/1
CKAN_DATAPUSHER_URL=http://datapusher:8800
CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000
# If the "expire_api_token" plugin is enabled we need to define
# "expires_in" and "unit" parameters
DATAPUSHER_TOKEN_EXPIRES_IN=
DATAPUSHER_TOKEN_EXPIRES_UNIT=
# example for 1 year
# DATAPUSHER_TOKEN_EXPIRES_IN=365
# unit=1:Second;unit=2:Minute;unit=3:Hour;unit=4:Day
# DATAPUSHER_TOKEN_EXPIRES_UNIT=4
TEST_CKAN_SOLR_URL=http://solr:8983/solr/ckan
TEST_CKAN_REDIS_URL=redis://redis:6379/1
# Core settings
CKAN__STORAGE_PATH=/var/lib/ckan
CKAN_SMTP_SERVER=smtp.corporateict.domain:25
CKAN_SMTP_STARTTLS=True
CKAN_SMTP_USER=user
CKAN_SMTP_PASSWORD=pass
CKAN_SMTP_MAIL_FROM=ckan@localhost
# Harvest
CKAN__HARVEST__MQ__TYPE=redis
CKAN__HARVEST__MQ__HOSTNAME=redis
CKAN__HARVEST__MQ__PORT=6379
CKAN__HARVEST__MQ__REDIS_DB=1
# Scheming
CKAN___SCHEMING__DATASET_SCHEMAS="ckanext.wprdctheme:ckan_dataset.yaml"
CKAN___SCHEMING__PRESETS=ckanext.wprdctheme:presets.json
# Datapusher Plus
CKAN__DATAPUSHER__FORMATS="csv xls xlsx xlsm xlsb tsv tab application/csv application/vnd.ms-excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet ods application/vnd.oasis.opendocument.spreadsheet"
# Extensions
CKAN__PLUGINS="datastore datapusher dcat dcat_json_interface hierarchy_display hierarchy_form scheming_datasets structured_data harvest officedocs_view pdf_view geo_view text_view webpage_view image_view recline_view datatables_view wprdctheme envvars"
CKAN___REMEMBER_COOKIE_SAMESITE=Lax
CKAN___REMEMBER_COOKIE_REFRESH_EACH_REQUEST=True