docker-ckan/.env

73 lines
1.9 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
2022-11-23 11:43:01 +01:00
CKAN_VERSION=2.9.7
2021-10-29 17:05:48 +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
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
DATAPUSHER_VERSION=0.0.19
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
CKAN__HARVEST__MQ__REDIS_DB=1