forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.dev
170 lines (141 loc) · 6.44 KB
/
.env.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# 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
# Host Ports
CKAN_PORT_HOST=5000
NGINX_PORT_HOST=81
NGINX_SSLPORT_HOST=8443
# CKAN databases
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
DATASTORE_DB=datastore
CKAN_SQLALCHEMY_URL=postgresql://ckandbuser:ckandbpassword@db/ckandb
CKAN_DATASTORE_WRITE_URL=postgresql://ckandbuser:ckandbpassword@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
# CKAN core
CKAN_VERSION=2.10.0
CKAN_SITE_ID=default
CKAN_SITE_URL=http://localhost:5000
CKAN_PORT=5000
CKAN_PORT_HOST=5000
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_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
# Solr
SOLR_IMAGE_VERSION=2.10-solr9-spatial
CKAN_SOLR_URL=http://solr:8983/solr/ckan
TEST_CKAN_SOLR_URL=http://solr:8983/solr/ckan
# Redis
REDIS_VERSION=6
CKAN_REDIS_URL=redis://redis:6379/1
TEST_CKAN_REDIS_URL=redis://redis:6379/1
# Datapusher
DATAPUSHER_VERSION=0.0.20
CKAN_DATAPUSHER_URL=http://datapusher:8800
CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000
DATAPUSHER_REWRITE_RESOURCES=True
DATAPUSHER_REWRITE_URL=http://ckan:5000
# NGINX
NGINX_PORT=80
NGINX_SSLPORT=443
# Other CKAN overrides
CKAN__SITE_TITLE=AuScope Data Repository
#CKAN__AUTH__ALLOW_DATASET_COLLABORATORS=True
#CKAN__AUTH__CREATE_UNOWNED_DATASET=True
#CKAN__AUTH__USER_CREATE_ORGANIZATIONS=False
#CKAN__AUTH__USER_CREATE_GROUPS=False
CKAN__VIEWS__DEFAULT_VIEWS=zip_view
CKAN__LICENSES_GROUP_URL= file:///shared/public/licenses.json
CKAN__DISPLAY_TIMEZONE=Australia/Sydney
# Extensions
CKAN__PLUGINS="envvars oidc_pkce auscope_theme contact scheming_datasets scheming_organizations composite image_view text_view recline_view datastore datapusher spatial_metadata spatial_query doi dcat dcat_json_interface structured_data"
# CKAN__PLUGINS="envvars oidc_pkce igsn_theme contact scheming_datasets scheming_organizations composite image_view text_view recline_view datastore datapusher spatial_metadata spatial_query doi dcat dcat_json_interface structured_data"
CKAN__HARVEST__MQ__TYPE=redis
CKAN__HARVEST__MQ__HOSTNAME=redis
CKAN__HARVEST__MQ__PORT=6379
CKAN__HARVEST__MQ__REDIS_DB=1
CKANEXT_OIDC_PKCE_BASE_URL=https://central.test.aaf.edu.au
CKANEXT_OIDC_PKCE_CLIENT_ID=wont-work-in-dev
CKANEXT_OIDC_PKCE_CLIENT_SECRET=wont-work-in-dev
CKANEXT__OIDC_PKCE__AUTH_PATH=/oidc/authorize
CKANEXT__OIDC_PKCE__TOKEN_PATH=/oidc/token
CKANEXT__OIDC_PKCE__USERINFO_PATH=/oidc/userinfo
# CKANEXT__OIDC_PKCE__SCOPE = openid email profile
# CKANEXT__OIDC_PKCE__USE_SAME_ID = true
# CKANEXT__OIDC_PKCE__MUNGE_PASSWORD = true
# DOI Extension
CKANEXT__DOI__ACCOUNT_NAME=my-account-name
CKANEXT__DOI__ACCOUNT_PASSWORD=my-password
CKANEXT__DOI__PREFIX=12.34567
CKANEXT__DOI__PUBLISHER=my-publisher
CKANEXT__DOI__TEST_MODE=True # Set to False for production DOI minting
# Scheming
CKAN___SCHEMING__PRESETS=ckanext.scheming:presets.json ckanext.repeating:presets.json ckanext.composite:presets.json
CKAN___SCHEMING__DATASET_SCHEMAS=ckanext.auscope_theme:data_repository_schema.yaml
# CKAN___SCHEMING__DATASET_SCHEMAS=ckanext.igsn_theme:sample_repository_schema.yaml
# Contact Form Extension
CKANEXT__CONTACT__RECIPIENT_NAME=AuScope Data Repository
CKANEXT__CONTACT__SUBJECT=Question from AuScope Data Repository user
CKANEXT__CONTACT__ADD_TIMESTAMP_TO_SUBJECT=false
CKANEXT__CONTACT__SUBJECT_PREFIX=Data Repository -
CKANEXT__CONTACT__RECAPTCHA_V3_KEY=my-key
CKANEXT__CONTACT__RECAPTCHA_V3_SECRET=my-secret
CKANEXT__CONTACT__RECAPTCHA_V3_ACTION=contact_form
CKANEXT__S3FILESTORE__AWS_BUCKET_NAME=a-bucket-to-store-your-stuff
CKANEXT__S3FILESTORE__REGION_NAME=ap-southeast-2
CKANEXT__S3FILESTORE__SIGNATURE_VERSION=s3v4
CKANEXT__S3FILESTORE__AWS_ACCESS_KEY_ID=your-access-key
CKANEXT__S3FILESTORE__AWS_SECRET_ACCESS_KEY=your-secret-key
# # An optional path to prepend to keys
# ckanext.s3filestore.aws_storage_path = my-site-name
# # An optional setting to fallback to filesystem for downloads
# ckanext.s3filestore.filesystem_download_fallback = true
# # The ckan storage path option must also be set correctly for the fallback to work
# ckan.storage_path = path/to/storage/directory
# # An optional setting to change the acl of the uploaded files. Default public-read.
# ckanext.s3filestore.acl = private
# # An optional setting to specify which addressing style to use. This controls whether the bucket name is in the hostname or is part of the URL. Default auto.
# ckanext.s3filestore.addressing_style = path
# Set this parameter only if you want to use Minio as a filestore service instead of S3.
CKANEXT__S3FILESTORE__HOST_NAME=http://minio:9000
# # To mask the S3 endpoint with your own domain/endpoint when serving URLs to end users.
# # This endpoint should be capable of serving S3 objects as if it were an actual bucket.
# # The real S3 endpoint will still be used for uploading files.
# ckanext.s3filestore.download_proxy = https://example.com/my-bucket
# # Defines how long a signed URL is valid (default 1 hour).
# ckanext.s3filestore.signed_url_expiry = 3600
# # Don't check for access on each startup
# ckanext.s3filestore.check_access_on_startup = false
CKANEXT__SPATIAL__DEFAULT__MAP__PROVIDER=Leaflet
CKANEXT__SPATIAL__COMMON__MAP__TYPE=custom
CKANEXT__SPATIAL__COMMON__MAP_CUSTOM__URL="https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}"
CKANEXT__SPATIAL__COMMON__MAP_ATTRIBUTION="Tiles courtesy of the <a href="https://usgs.gov/">U.S. Geological Survey</a>"
CKANEXT__SPATIAL__SEARCH__BACKEND=solr-spatial-field