forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 22
Custom namespace
Ondrej Kosarko edited this page Dec 6, 2024
·
1 revision
You'll need to set up more than just the cfg/.env properties.
This wiki is written specifically for Docker installation.
.env
DSPACE_REST_NAMESPACEDSPACE_UI_NAMESPACE
docker-compose
- in
docker-compose.yml:DSPACE_REST_NAMESPACEandDSPACE_UI_NAMESPACEproperty
2. Create a symlink for Tomcat in the Docker container to ensure the backend operates at the correct URL
- in
docker-compose-rest, service:dspace, section:entrypoint, add:pushd ../webapps && unlink server && ln -s /dspace/webapps/server/ '<YOUR_NAMESPACE_CHANGE_ME>#server' && popd
- in
aai.jschange variablenamespaceto your namespace value - You can directly mount the
aai.jsfile into the FEdistfolder like this:/aai.js:/app/dist/browser/aai.js. Add this line to thedocker-compose.ymlfile under thevolumessection.
-
assetspath ignores yournamespaceconfiguration. The UI is just trying to fetch the data (images,...) from theUI_URL/assetsand not fromUI_URL/<NAMESPACE>/assets
The issue is that the Referer in the UI request does not include the /repository/ namespace. Due to the Referrer Policy: strict-origin-when-cross-origin, the UI request ignores the namespace if the UI and backend have different URLs (i.e., different ports).
- e.g.,
/repository/
Getting Started
Features
- All Features — full categorised list
- CLARIN Licenses
- PIDs & Handles
- Featured Services / Refbox
- Field-Level Permissions
- File Previews
- Sharing a Submission
- Personal Access Tokens
- DOI Configuration per Community
- ROR Authority
Operations
- Kubernetes Deployment
- Samples (.env, Nginx)
- Nginx + Shibboleth
- Handle Server · Setup (v7)
- Shibboleth · DiscoJuice
- Shibboleth Accounts
- S3 Storage · CESNET S3
- Google Analytics
- Matomo
- Solr
- Logging
- Custom Namespace
- Health Report
For Users
Development
Reference
- Authorizations
- Metadata Info
- Citations (proposal)
- Repository Checklist
- Search, Browse & Filters
- Localization
- Importing Items (CLI)
- NFA Import - Steps
- OpenAIRE
- DOI Registration
- Inclusion in OLAC
- Unit Testing
- Deploy Checks
- Troubleshooting
- Versioning Theory
- Dynamic Resource Versioning
- Metashare Import · Schema
- Web Server Overview
- LINDAT Common Theme
- Workshop 2016 Results
- WebLicht Integration
- Google Dataset Search
Archive (v5 / stale)
- Old Home (v5)
- Installation (v5)
- Prerequisites (v5)
- Connecting Tomcat with Apache
- Using Apache
- Building Shibboleth FastCGI
- Shibboleth Install (v5)
- EUDAT Replication
- Backup (v5)
- Spring Social / Google Drive (v5)
- Clarin (→ Repository Checklist)
- Control Panel (v5)
- Overlays (v5)
- Configuration (v5)
- Speeding Up Downloads
- Debugging (v5)
- Selenium (v5)
- Code Contributions (v5)
- Best Practices (v5)
- Testing Hudson
- Working on Windows
- Prerequisites Checklist (v5)
- Migration to DSpace 7.2.1
- Upgrade From Lindat
- Piwik (→ Matomo) · Piwik Cleaning