2022-07-13 12:47:48 +02:00
|
|
|
# Container names
|
|
|
|
NGINX_CONTAINER_NAME=nginx
|
|
|
|
REDIS_CONTAINER_NAME=redis
|
|
|
|
POSTGRESQL_CONTAINER_NAME=db
|
|
|
|
SOLR_CONTAINER_NAME=solr
|
|
|
|
DATAPUSHER_CONTAINER_NAME=datapusher
|
|
|
|
CKAN_CONTAINER_NAME=ckan
|
|
|
|
WORKER_CONTAINER_NAME=ckan-worker
|
|
|
|
|
2022-11-03 14:20:51 +01:00
|
|
|
# Host Ports
|
|
|
|
CKAN_PORT_HOST=5000
|
|
|
|
NGINX_PORT_HOST=81
|
|
|
|
NGINX_SSLPORT_HOST=8443
|
|
|
|
|
2021-01-14 11:15:44 +01:00
|
|
|
# CKAN databases
|
2020-09-17 11:32:00 +02:00
|
|
|
POSTGRES_USER=ckan
|
|
|
|
POSTGRES_PASSWORD=ckan
|
|
|
|
DATASTORE_READONLY_USER=datastore_ro
|
|
|
|
DATASTORE_READONLY_PASSWORD=datastore
|
|
|
|
POSTGRES_HOST=db
|
2021-01-14 11:15:44 +01:00
|
|
|
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
|
2020-09-17 11:32:00 +02:00
|
|
|
|
2021-01-14 11:15:44 +01:00
|
|
|
# CKAN core
|
2022-12-12 10:37:08 +01:00
|
|
|
CKAN_VERSION=2.9.7
|
2020-09-17 11:32:00 +02:00
|
|
|
CKAN_SITE_ID=default
|
|
|
|
CKAN_SITE_URL=http://ckan:5000
|
|
|
|
CKAN_PORT=5000
|
2022-11-03 14:20:51 +01:00
|
|
|
CKAN_PORT_HOST=5000
|
2023-01-19 13:34:17 +01:00
|
|
|
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
|
2020-09-17 11:32:00 +02:00
|
|
|
CKAN_SYSADMIN_NAME=ckan_admin
|
|
|
|
CKAN_SYSADMIN_PASSWORD=test1234
|
|
|
|
CKAN_SYSADMIN_EMAIL=your_email@example.com
|
2021-01-14 11:15:44 +01:00
|
|
|
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
|
2020-09-17 11:32:00 +02:00
|
|
|
TZ=UTC
|
|
|
|
|
2021-12-10 15:01:16 +01:00
|
|
|
# Solr
|
2022-07-13 12:47:48 +02:00
|
|
|
SOLR_IMAGE_VERSION=2.9-solr8
|
2020-09-17 11:32:00 +02:00
|
|
|
CKAN_SOLR_URL=http://solr:8983/solr/ckan
|
|
|
|
TEST_CKAN_SOLR_URL=http://solr:8983/solr/ckan
|
2021-12-10 15:01:16 +01:00
|
|
|
|
|
|
|
# Redis
|
2022-07-13 12:47:48 +02:00
|
|
|
REDIS_VERSION=6
|
2021-12-10 15:01:16 +01:00
|
|
|
CKAN_REDIS_URL=redis://redis:6379/1
|
2020-09-17 11:32:00 +02:00
|
|
|
TEST_CKAN_REDIS_URL=redis://redis:6379/1
|
|
|
|
|
2021-12-10 15:01:16 +01:00
|
|
|
# Datapusher
|
2022-12-12 10:37:08 +01:00
|
|
|
DATAPUSHER_VERSION=0.0.19
|
2021-12-10 15:01:16 +01:00
|
|
|
CKAN_DATAPUSHER_URL=http://datapusher:8800
|
|
|
|
CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000
|
|
|
|
DATAPUSHER_REWRITE_RESOURCES=True
|
2022-12-12 10:37:08 +01:00
|
|
|
DATAPUSHER_REWRITE_URL=http://ckan:5000
|
2021-12-10 15:01:16 +01:00
|
|
|
|
2022-11-03 14:20:51 +01:00
|
|
|
# NGINX
|
|
|
|
NGINX_PORT=80
|
|
|
|
NGINX_SSLPORT=443
|
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
# Extensions
|
2022-07-13 12:47:48 +02:00
|
|
|
CKAN__PLUGINS="envvars image_view text_view recline_view datastore datapusher"
|
2020-09-17 11:32:00 +02:00
|
|
|
CKAN__HARVEST__MQ__TYPE=redis
|
|
|
|
CKAN__HARVEST__MQ__HOSTNAME=redis
|
|
|
|
CKAN__HARVEST__MQ__PORT=6379
|
2023-01-18 10:43:32 +01:00
|
|
|
CKAN__HARVEST__MQ__REDIS_DB=1
|