42 lines
1.7 KiB
Plaintext
42 lines
1.7 KiB
Plaintext
# Runtime configuration of CKAN enabled through ckanext-envvars
|
|
# Information about how it works: https://github.com/okfn/ckanext-envvars
|
|
# Note that variables here take presedence over build/up time variables in .env
|
|
|
|
# Set to true to disable CKAN from starting and serve a maintenance page
|
|
MAINTENANCE_MODE=false
|
|
|
|
# General Settings
|
|
CKAN_SITE_ID=default
|
|
CKAN_SITE_URL=http://localhost:5000
|
|
CKAN_PORT=5000
|
|
CKAN_MAX_UPLOAD_SIZE_MB=20
|
|
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 Plugins
|
|
CKAN__PLUGINS=envvars image_view text_view recline_view datastore datapusher
|
|
# CKAN requires storage path to be set in order for filestore to be enabled
|
|
CKAN__STORAGE_PATH=/srv/app/data
|
|
CKAN__WEBASSETS__PATH=/srv/app/data/webassets
|
|
# SYSADMIN settings, a sysadmin user is created automatically with the below credentials
|
|
CKAN_SYSADMIN_NAME=sysadmin
|
|
CKAN_SYSADMIN_PASSWORD=password
|
|
CKAN_SYSADMIN_EMAIL=sysadmin@ckantest.com
|
|
|
|
# Email settings
|
|
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
|
|
|
|
# Datapusher configuration
|
|
CKAN__DATAPUSHER__URL=http://datapusher:8000
|
|
CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000/
|
|
CKAN__DATAPUSHER__API_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJqdGkiOiJ6M0lGRGw4SVdFR3lVRzFYRHJ0cm56WmNmcDlzbmFuUHlUMjdqLXRVSW9nIiwiaWF0IjoxNjc3MDYwNjQ1fQ.ECCa0wU-FOOGpdE9_TTVj__2J9SfANRBD6gRClBvPk0
|
|
# CKAN__DATAPUSHER__API_TOKEN=replace_this_with_api_token_once_ckan_starts
|
|
|
|
# Solr configuration
|
|
CKAN_VERSION=2.10
|
|
CKAN_CORE_NAME=ckan |