forked from DSpace/dspace-angular
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Hello,
I'm trying to install DSpace-CRIS locally.
The backend is running with this diff:
diff --git a/docker-compose.yml b/docker-compose.yml
index 9177ff4bd9..9326896be5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,10 +1,5 @@
networks:
dspacenet:
- ipam:
- config:
- # Define a custom subnet for our DSpace network, so that we can easily trust requests from host to container.
- # If you customize this value, be sure to customize the 'proxies.trusted.ipranges' env variable below.
- - subnet: 172.23.0.0/16
services:
# DSpace (backend) webapp container
dspace:
@@ -17,8 +12,8 @@ services:
# dspace.dir: Must match with Dockerfile's DSPACE_INSTALL directory.
dspace__P__dir: /dspace
# Uncomment to set a non-default value for dspace.server.url or dspace.ui.url
- # dspace__P__server__P__url: http://localhost:8080/server
- # dspace__P__ui__P__url: http://localhost:4000
+ dspace__P__server__P__url: http://localhost:8080/server
+ dspace__P__ui__P__url: http://localhost:4000
dspace__P__name: 'DSpace Started with Docker Compose'
# db.url: Ensure we are using the 'dspacedb' image for our database
db__P__url: 'jdbc:postgresql://dspacedb:5432/dspace'And the front end is running with no changes except a config/config.dev.yml file copied from the example file.
The frontend on http://localhost:4000 displays an error 500. The console indicates a CORS issue:
The url http://localhost:8080/server/#/server/api displays:
{
"dspaceUI": "http://localhost:4000",
"dspaceName": "DSpace Started with Docker Compose",
"dspaceServer": "http://localhost:8080/server",
"dspaceVersion": "DSpace 8.1",
"crisVersion": "cris-2025.01.00-SNAPSHOT",
"type": "root",
"uniqueType": "root.root"
}I am obviously not familiar with your software and would appreciate guidance on setting up this dev env. 🙏
Cheers,
~Nicolas
Metadata
Metadata
Assignees
Labels
No labels
