docker-ckan/.env

78 lines
2.2 KiB
Bash
Raw Normal View History

2022-07-12 10:44:55 +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-10-29 17:05:48 +02:00
# CKAN databases
2021-01-15 16:05:22 +01:00
POSTGRES_USER=ckan
POSTGRES_PASSWORD=ckan
DATASTORE_READONLY_USER=datastore_ro
DATASTORE_READONLY_PASSWORD=datastore
POSTGRES_HOST=db
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
2021-10-29 17:05:48 +02:00
# 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
2021-10-29 14:01:58 +02:00
2021-10-29 17:05:48 +02:00
# CKAN core
CKAN_VERSION=2.10.0
2021-10-29 17:05:48 +02:00
CKAN_SITE_ID=default
CKAN_SITE_URL=https://localhost:8443
2021-10-29 17:05:48 +02:00
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
2021-10-29 17:05:48 +02:00
CKAN_SYSADMIN_NAME=ckan_admin
CKAN_SYSADMIN_PASSWORD=test1234
CKAN_SYSADMIN_EMAIL=your_email@example.com
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-01-15 16:05:22 +01:00
2021-12-10 14:35:25 +01:00
# Solr
2022-07-12 10:44:55 +02:00
SOLR_IMAGE_VERSION=2.9-solr8
2021-10-29 17:05:48 +02:00
CKAN_SOLR_URL=http://solr:8983/solr/ckan
TEST_CKAN_SOLR_URL=http://solr:8983/solr/ckan
2021-12-10 14:35:25 +01:00
# Redis
2022-07-11 13:32:17 +02:00
REDIS_VERSION=6
2021-12-10 14:35:25 +01:00
CKAN_REDIS_URL=redis://redis:6379/1
2021-10-29 17:05:48 +02:00
TEST_CKAN_REDIS_URL=redis://redis:6379/1
2021-12-10 14:35:25 +01:00
# Datapusher
2023-04-02 07:34:49 +02:00
DATAPUSHER_VERSION=0.0.20
2021-12-10 14:35:25 +01:00
CKAN_DATAPUSHER_URL=http://datapusher:8800
CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000
DATAPUSHER_REWRITE_RESOURCES=True
2022-11-23 11:43:01 +01:00
DATAPUSHER_REWRITE_URL=http://ckan:5000
2021-12-10 14:35:25 +01:00
2022-11-03 14:20:51 +01:00
# NGINX
NGINX_PORT=80
NGINX_SSLPORT=443
2021-10-29 17:05:48 +02:00
# Extensions
2021-12-10 15:01:16 +01:00
CKAN__PLUGINS="envvars image_view text_view recline_view datastore datapusher"
2021-10-29 17:05:48 +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