Skip to content

Commit

Permalink
feat: add dcor_config.json for docker images (close #21)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Dec 11, 2024
1 parent 4bf82a3 commit 2a6a499
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.12.0
- feat: add dcor_config.json for docker images
0.11.8
- fix: get_dcor_site_config_dir did not always return a pathlib.Path (#20)
- fix: --dcor-site-config-dir CLI argument did not accept directory (#20)
Expand Down
22 changes: 22 additions & 0 deletions dcor_control/resources/site_dcor-docker/dcor_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{"name": "docker",
"requirements": {
"ip": "unknown",
"hostname": "dcor-dev-docker"},
"branding_paths": ["../branding/testing"],
"ckan.ini": {
"ckan.auth.create_user_via_api": "true",
"ckan.auth.create_user_via_web": "true",
"ckan.site_title": "DCOR-docker-dev",
"ckan.site_url": "http://127.0.0.1",
"ckan.storage_path": "/tmp/data/ckan-<TEMPLATE:HOSTNAME>",
"ckan.plugins": "stats text_view image_view dcor_depot dcor_schemas dc_serve dc_view dc_log_view dcor_theme envvars",
"ckanext.dc_serve.tmp_dir": "/tmp/ckanext-dc_serve",
"ckanext.dcor_depot.depots_path": "/tmp/data/depots",
"dcor_object_store.access_key_id": "minioadmin",
"dcor_object_store.secret_access_key": "minioadmin",
"dcor_object_store.endpoint_url": "http://127.0.0.1:9000",
"dcor_object_store.bucket_name": "circle-dev-docker-{organization_id}",
"dcor_object_store.ssl_verify": "false",
"sqalchemy.url": "postgresql://ckandbuser:ckandbpassword@db/ckandb"
}
}
4 changes: 2 additions & 2 deletions dcor_control/resources/site_dcor-vagrant/dcor_config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{"name": "vagrant",
"requirements": {
"ip": "unknown",
"hostname": "dcor-test"},
"ip": "unknown",
"hostname": "dcor-test"},
"branding_paths": ["../branding/testing"],
"ckan.ini": {
"ckan.auth.create_user_via_api": "true",
Expand Down

0 comments on commit 2a6a499

Please sign in to comment.