forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from GenomicDataInfrastructure/add-test-data
Clean dev.local configuration
- Loading branch information
Showing
20 changed files
with
48 additions
and
8,509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,17 @@ | ||
# Container names | ||
NGINX_CONTAINER_NAME=nginx | ||
REDIS_CONTAINER_NAME=redis | ||
POSTGRESQL_CONTAINER_NAME=db | ||
SOLR_CONTAINER_NAME=solr | ||
CKAN_CONTAINER_NAME=ckan | ||
WORKER_CONTAINER_NAME=ckan-worker | ||
|
||
# Host Ports | ||
CKAN_PORT_HOST=5500 | ||
NGINX_PORT_HOST=81 | ||
NGINX_SSLPORT_HOST=8443 | ||
|
||
# CKAN databases | ||
# Postgres | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD=postgres | ||
POSTGRES_DB=postgres | ||
POSTGRES_HOST=db | ||
POSTGRES_HOST=postgres | ||
CKAN_DB_USER=ckandbuser | ||
CKAN_DB_PASSWORD=ckandbpassword | ||
CKAN_DB=ckandb | ||
CKAN_SQLALCHEMY_URL=postgresql://ckandbuser:ckandbpassword@db/ckandb | ||
|
||
# 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 | ||
|
||
DATASTORE_READONLY_USER=datastore_ro | ||
DATASTORE_READONLY_PASSWORD=datastore | ||
DATASTORE_DB=datastore | ||
|
||
# Dev settings | ||
USE_HTTPS_FOR_DEV=false | ||
|
||
# CKAN core | ||
CKAN_VERSION=2.10.1 | ||
# CKAN | ||
CKAN_VERSION=2.10.3 | ||
CKAN_SITE_ID=default | ||
CKAN_SITE_URL=http://localhost:5500 | ||
CKAN_PORT=5000 | ||
|
@@ -45,13 +22,15 @@ CKAN___API_TOKEN__JWT__DECODE__SECRET=string:CHANGE_ME | |
CKAN_SYSADMIN_NAME=ckan_admin | ||
CKAN_SYSADMIN_PASSWORD=test1234 | ||
CKAN_SYSADMIN_EMAIL=[email protected] | ||
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 | ||
CKAN_SQLALCHEMY_URL=postgresql://${CKAN_DB_USER}:${CKAN_DB_PASSWORD}@${POSTGRES_HOST}/${CKAN_DB} | ||
TEST_CKAN_SQLALCHEMY_URL=postgres://ckan:ckan@${POSTGRES_HOST}/ckan_test | ||
TEST_CKAN_DATASTORE_WRITE_URL=postgresql://ckan:ckan@${POSTGRES_HOST}/datastore_test | ||
TEST_CKAN_DATASTORE_READ_URL=postgresql://datastore_ro:datastore@${POSTGRES_HOST}/datastore_test | ||
|
||
# Solr | ||
SOLR_IMAGE_VERSION=2.10-solr9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
GET http://localhost:5500/api/action/scheming_package_show?type=dataset&id=5eedc478-87b2-4947-8a9a-c90437440079 | ||
|
||
### | ||
|
||
GET http://localhost:5500/api/action/scheming_dataset_schema_show?type=dataset&id=4611e835-ee00-49e8-a97a-9077759ce791 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,7 +192,7 @@ | |
"composite" : true, | ||
"composites" : { | ||
"client" : { | ||
"realm-management" : [ "view-realm", "query-clients", "impersonation", "query-groups", "view-events", "manage-identity-providers", "manage-clients", "view-authorization", "manage-realm", "manage-authorization", "view-identity-providers", "view-users", "create-client", "view-clients", "query-realms", "manage-users", "manage-events", "query-users" ] | ||
"realm-management" : [ "view-realm", "query-clients", "impersonation", "query-groups", "view-events", "manage-identity-providers", "manage-clients", "view-authorization", "manage-realm", "manage-authorization", "view-identity-providers", "create-client", "view-users", "query-realms", "view-clients", "manage-users", "manage-events", "query-users" ] | ||
} | ||
}, | ||
"clientRole" : true, | ||
|
@@ -383,6 +383,29 @@ | |
"webAuthnPolicyPasswordlessAcceptableAaguids" : [ ], | ||
"webAuthnPolicyPasswordlessExtraOrigins" : [ ], | ||
"users" : [ { | ||
"id" : "52cacbab-c440-4385-9d5f-46aa4930b0e4", | ||
"createdTimestamp" : 1703107576892, | ||
"username" : "ckan_admin", | ||
"enabled" : true, | ||
"totp" : false, | ||
"emailVerified" : false, | ||
"firstName" : "CKAN", | ||
"lastName" : "Admin", | ||
"email" : "[email protected]", | ||
"credentials" : [ { | ||
"id" : "1c2c2caf-4556-479d-853f-9ed3c0ecb017", | ||
"type" : "password", | ||
"userLabel" : "My password", | ||
"createdDate" : 1703107588036, | ||
"secretData" : "{\"value\":\"urHSmjggWEph066Ed4l6c2qA63fShCx+ny7PA7pAquw=\",\"salt\":\"Zh3X+GfxGoMiZ1dZv3rnPw==\",\"additionalParameters\":{}}", | ||
"credentialData" : "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\",\"additionalParameters\":{}}" | ||
} ], | ||
"disableableCredentialTypes" : [ ], | ||
"requiredActions" : [ ], | ||
"realmRoles" : [ "default-roles-ckan" ], | ||
"notBefore" : 0, | ||
"groups" : [ ] | ||
}, { | ||
"id" : "900af5fc-4c5c-4333-bcee-9855bfb0991d", | ||
"createdTimestamp" : 1701295297234, | ||
"username" : "service-account-ckan", | ||
|
@@ -1191,7 +1214,7 @@ | |
"subType" : "authenticated", | ||
"subComponents" : { }, | ||
"config" : { | ||
"allowed-protocol-mapper-types" : [ "oidc-usermodel-property-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper", "saml-user-attribute-mapper", "saml-role-list-mapper", "oidc-address-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper" ] | ||
"allowed-protocol-mapper-types" : [ "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-property-mapper", "saml-role-list-mapper", "saml-user-attribute-mapper", "oidc-full-name-mapper", "oidc-address-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper" ] | ||
} | ||
}, { | ||
"id" : "1a9c6e95-2a93-47b4-83ee-b414941cac4e", | ||
|
@@ -1235,7 +1258,7 @@ | |
"subType" : "anonymous", | ||
"subComponents" : { }, | ||
"config" : { | ||
"allowed-protocol-mapper-types" : [ "oidc-address-mapper", "oidc-full-name-mapper", "saml-role-list-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper", "oidc-usermodel-property-mapper" ] | ||
"allowed-protocol-mapper-types" : [ "oidc-full-name-mapper", "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "oidc-usermodel-property-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-user-property-mapper", "saml-user-attribute-mapper", "oidc-address-mapper" ] | ||
} | ||
}, { | ||
"id" : "c6451db3-895c-4b82-9b16-3923fc8161f4", | ||
|
@@ -1841,7 +1864,7 @@ | |
"cibaInterval" : "5", | ||
"realmReusableOtpCode" : "false" | ||
}, | ||
"keycloakVersion" : "23.0.1", | ||
"keycloakVersion" : "23.0.3", | ||
"userManagedAccessAllowed" : false, | ||
"clientProfiles" : { | ||
"profiles" : [ ] | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.