mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 07:23:08 +00:00
Fix "cannot override networks.dspacenet" by updating all compose files to reference 'dspacenet' network
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
version: "3.7"
|
||||
|
||||
networks:
|
||||
# Default to using network named 'dspacenet' from docker-compose.yml.
|
||||
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
|
||||
default:
|
||||
name: ${COMPOSE_PROJECT_NAME}_dspacenet
|
||||
external: true
|
||||
services:
|
||||
dspace-cli:
|
||||
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-latest}"
|
||||
@@ -26,13 +31,8 @@ services:
|
||||
- ./dspace/config:/dspace/config
|
||||
entrypoint: /dspace/bin/dspace
|
||||
command: help
|
||||
networks:
|
||||
- dspacenet
|
||||
tty: true
|
||||
stdin_open: true
|
||||
|
||||
volumes:
|
||||
assetstore:
|
||||
|
||||
networks:
|
||||
dspacenet:
|
||||
|
@@ -36,7 +36,7 @@ services:
|
||||
depends_on:
|
||||
- dspacedb
|
||||
networks:
|
||||
dspacenet:
|
||||
- dspacenet
|
||||
ports:
|
||||
- published: 8080
|
||||
target: 8080
|
||||
|
@@ -78,6 +78,7 @@ docker-compose -p d7 up -d
|
||||
```
|
||||
docker-compose -p d7 -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-angular.yml up -d
|
||||
```
|
||||
NOTE: This starts the UI in development mode. It will take a few minutes to see the UI as the Angular code needs to be compiled.
|
||||
|
||||
## Run DSpace REST and DSpace Angular from local branches
|
||||
|
||||
|
@@ -8,7 +8,11 @@
|
||||
|
||||
version: '3.7'
|
||||
networks:
|
||||
dspacenet:
|
||||
# Default to using network named 'dspacenet' from docker-compose.yml.
|
||||
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
|
||||
default:
|
||||
name: ${COMPOSE_PROJECT_NAME}_dspacenet
|
||||
external: true
|
||||
services:
|
||||
dspace-angular:
|
||||
container_name: dspace-angular
|
||||
@@ -24,8 +28,6 @@ services:
|
||||
DSPACE_REST_PORT: 8080
|
||||
DSPACE_REST_NAMESPACE: /server
|
||||
image: dspace/dspace-angular:${DSPACE_VER:-latest}
|
||||
networks:
|
||||
dspacenet:
|
||||
ports:
|
||||
- published: 4000
|
||||
target: 4000
|
||||
|
@@ -12,7 +12,11 @@
|
||||
#
|
||||
version: '3.7'
|
||||
networks:
|
||||
dspacenet:
|
||||
# Default to using network named 'dspacenet' from docker-compose.yml.
|
||||
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
|
||||
default:
|
||||
name: ${COMPOSE_PROJECT_NAME}_dspacenet
|
||||
external: true
|
||||
services:
|
||||
dspace-iiif:
|
||||
container_name: dspace-iiif
|
||||
@@ -21,8 +25,6 @@ services:
|
||||
# Using UCLA Library image as it seems to be most maintained at this time. There is no official image.
|
||||
# https://hub.docker.com/r/uclalibrary/cantaloupe
|
||||
image: uclalibrary/cantaloupe:5.0.4-0
|
||||
networks:
|
||||
dspacenet:
|
||||
ports:
|
||||
- '8182:8182'
|
||||
# For a guide of environment variables that can be used, see
|
||||
|
@@ -12,7 +12,11 @@
|
||||
#
|
||||
version: '3.7'
|
||||
networks:
|
||||
dspacenet:
|
||||
# Default to using network named 'dspacenet' from docker-compose.yml.
|
||||
# Its full name will be prepended with the project name (e.g. "-p d7" means it will be named "d7_dspacenet")
|
||||
default:
|
||||
name: ${COMPOSE_PROJECT_NAME}_dspacenet
|
||||
external: true
|
||||
services:
|
||||
dspace-shibboleth:
|
||||
container_name: dspace-shibboleth
|
||||
@@ -22,8 +26,6 @@ services:
|
||||
build:
|
||||
# Must be relative to root, so that it can be built alongside [src]/docker-compose.yml
|
||||
context: ./dspace/src/main/docker/dspace-shibboleth
|
||||
networks:
|
||||
dspacenet:
|
||||
ports:
|
||||
- published: 80
|
||||
target: 80
|
||||
|
Reference in New Issue
Block a user