docker-ckan/.env.example

77 lines
2.2 KiB
Plaintext
Raw Normal View History

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
2023-06-13 14:24:18 +02:00
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=postgres
POSTGRES_HOST=db
CKAN_DB_USER=ckandbuser
CKAN_DB_PASSWORD=ckandbpassword
CKAN_DB=ckandb
DATASTORE_READONLY_USER=datastore_ro
DATASTORE_READONLY_PASSWORD=datastore
2023-06-13 14:24:18 +02:00
DATASTORE_DB=datastore
CKAN_SQLALCHEMY_URL=postgresql://ckandbuser:ckandbpassword@db/ckandb
CKAN_DATASTORE_WRITE_URL=postgresql://ckandbuser:ckandbpassword@db/datastore
2021-01-14 11:15:44 +01:00
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
# Dev settings
USE_HTTPS_FOR_DEV=false
2021-01-14 11:15:44 +01:00
# CKAN core
CKAN_VERSION=2.10.0
CKAN_SITE_ID=default
2023-06-13 14:24:18 +02:00
CKAN_SITE_URL=https://localhost:8443
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
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
TZ=UTC
2021-12-10 15:01:16 +01:00
# Solr
2023-07-31 17:12:55 +02:00
SOLR_IMAGE_VERSION=2.10-solr9
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
TEST_CKAN_REDIS_URL=redis://redis:6379/1
2021-12-10 15:01:16 +01:00
# Datapusher
2023-04-02 07:34:49 +02:00
DATAPUSHER_VERSION=0.0.20
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
# Extensions
CKAN__PLUGINS="envvars image_view text_view datatables_view datastore datapusher"
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