-
Notifications
You must be signed in to change notification settings - Fork 39
/
.env
92 lines (75 loc) · 3.24 KB
/
.env
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
82
83
84
85
86
87
88
89
90
91
# DB image settings
POSTGRES_PASSWORD=ckan
POSTGRES_USER=ckan
POSTGRES_DB=ckan
DATASTORE_READONLY_PASSWORD=datastore
# Basic
CKAN_SITE_ID=default
CKAN_SITE_URL=http://ckan:5000
CKAN_PORT=5000
CKAN_SYSADMIN_NAME=admin
CKAN_SYSADMIN_PASSWORD=password
TZ=UTC
# Database connections (TODO: avoid duplication)
CKAN_SQLALCHEMY_URL=postgresql://ckan:ckan@db/ckan
# CKAN_SQLALCHEMY_URL=postgresql://ckan_default:pass@db/ckan_test # ckan/ckan-postgres-dev:
CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore
CKAN_DATASTORE_READ_URL=postgresql://ckan:ckan@db/datastore
# Test database connections
TEST_CKAN_SQLALCHEMY_URL=postgres://ckan:ckan@db/ckan_test
# TEST_CKAN_SQLALCHEMY_URL=postgres://ckan_default:pass@db/ckan_test # ckan/ckan-postgres-dev:
TEST_CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@db/datastore_test
TEST_CKAN_DATASTORE_READ_URL=postgresql://ckan:ckan@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
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
# Extensions
CKAN__PLUGINS=envvars image_view text_view recline_view datagov_harvest ckan_harvester geodatagov geodatagov_miscs z3950_harvester arcgis_harvester geodatagov_geoportal_harvester waf_harvester_collection geodatagov_csw_harvester geodatagov_doc_harvester geodatagov_waf_harvester spatial_metadata spatial_query s3test datajson datajson_harvest
# Harvest settings
CKAN__HARVEST__MQ__TYPE=redis
CKAN__HARVEST__MQ__HOSTNAME=redis
CKAN__HARVEST__MQ__PORT=6379
CKAN__HARVEST__MQ__REDIS_DB=1
CKAN__HARVEST__LOG_LEVEL=info
CKAN__HARVEST__LOG_SCOPE=0
CKAN__HARVEST__STATUS_MAIL__ALL=True
CKANEXT__GEODATAGOV__BUREAU_CSV__URL=https://resources.data.gov/schemas/dcat-us/v1.1/omb_bureau_codes.csv
CKANEXT__GEODATAGOV__BUREAU_CSV__URL_DEFAULT=https://resources.data.gov/schemas/dcat-us/v1.1/omb_bureau_codes.csv
CKAN__SPATIAL__SRID=4326
CKAN__SPATIAL__VALIDATOR__PROFILES=iso19139ngdc
# CKAN___GOOGLEANALYTICS__IDS=UA-1010101-1 UA-1010101-2
CKAN__TRACKING_ENABLED=true
CKAN___BROKER_BACKEND=redis
CKAN___BROKER_HOST=redis://redis/1
CKAN___CELERY_RESULT_BACKEND=redis
CKAN___REDIS_HOST=redis
CKAN___REDIS_PORT=6379
CKAN___REDIS_DB=0
CKAN___REDIS_CONNECT_RETRY=True
## S3 settings
# The maximum content size, in bytes, for uploads
CKAN__STORAGE__MAX_CONTENT_LENGTH=650000000
CKAN_STORAGE_PATH=/var/lib/ckan/files
CKANEXT__S3SITEMAP__AWS_ACCESS_KEY_ID=_placeholder
CKANEXT__S3SITEMAP__AWS_BUCKET_NAME=catalog-sitemap
CKANEXT__S3SITEMAP__AWS_S3_URL=_placeholder
CKANEXT__S3SITEMAP__AWS_SECRET_ACCESS_KEY=_placeholder
CKANEXT__S3SITEMAP__AWS_STORAGE_PATH=local
CKANEXT__S3SITEMAP__REGION_NAME=us-east-1
CKANEXT__S3SITEMAP__HOST_NAME=http://localstack-container:4566
CKANEXT__S3SITEMAP__PUBLIC_HOST_NAME=http://localhost:4566
# endpoint used to create boto3.resource('s3')
CKANEXT__S3SITEMAP__ENDPOINT_URL=http://localstack-container:4566
CKANEXT__S3SITEMAP__SIGNATURE_VERSION=s3v4