mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +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"
|
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:
|
services:
|
||||||
dspace-cli:
|
dspace-cli:
|
||||||
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-latest}"
|
image: "${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-latest}"
|
||||||
@@ -26,13 +31,8 @@ services:
|
|||||||
- ./dspace/config:/dspace/config
|
- ./dspace/config:/dspace/config
|
||||||
entrypoint: /dspace/bin/dspace
|
entrypoint: /dspace/bin/dspace
|
||||||
command: help
|
command: help
|
||||||
networks:
|
|
||||||
- dspacenet
|
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
assetstore:
|
assetstore:
|
||||||
|
|
||||||
networks:
|
|
||||||
dspacenet:
|
|
||||||
|
@@ -36,7 +36,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- dspacedb
|
- dspacedb
|
||||||
networks:
|
networks:
|
||||||
dspacenet:
|
- dspacenet
|
||||||
ports:
|
ports:
|
||||||
- published: 8080
|
- published: 8080
|
||||||
target: 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
|
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
|
## Run DSpace REST and DSpace Angular from local branches
|
||||||
|
|
||||||
|
@@ -8,7 +8,11 @@
|
|||||||
|
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
networks:
|
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:
|
services:
|
||||||
dspace-angular:
|
dspace-angular:
|
||||||
container_name: dspace-angular
|
container_name: dspace-angular
|
||||||
@@ -24,8 +28,6 @@ services:
|
|||||||
DSPACE_REST_PORT: 8080
|
DSPACE_REST_PORT: 8080
|
||||||
DSPACE_REST_NAMESPACE: /server
|
DSPACE_REST_NAMESPACE: /server
|
||||||
image: dspace/dspace-angular:${DSPACE_VER:-latest}
|
image: dspace/dspace-angular:${DSPACE_VER:-latest}
|
||||||
networks:
|
|
||||||
dspacenet:
|
|
||||||
ports:
|
ports:
|
||||||
- published: 4000
|
- published: 4000
|
||||||
target: 4000
|
target: 4000
|
||||||
|
@@ -12,7 +12,11 @@
|
|||||||
#
|
#
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
networks:
|
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:
|
services:
|
||||||
dspace-iiif:
|
dspace-iiif:
|
||||||
container_name: 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.
|
# 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
|
# https://hub.docker.com/r/uclalibrary/cantaloupe
|
||||||
image: uclalibrary/cantaloupe:5.0.4-0
|
image: uclalibrary/cantaloupe:5.0.4-0
|
||||||
networks:
|
|
||||||
dspacenet:
|
|
||||||
ports:
|
ports:
|
||||||
- '8182:8182'
|
- '8182:8182'
|
||||||
# For a guide of environment variables that can be used, see
|
# For a guide of environment variables that can be used, see
|
||||||
|
@@ -12,7 +12,11 @@
|
|||||||
#
|
#
|
||||||
version: '3.7'
|
version: '3.7'
|
||||||
networks:
|
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:
|
services:
|
||||||
dspace-shibboleth:
|
dspace-shibboleth:
|
||||||
container_name: dspace-shibboleth
|
container_name: dspace-shibboleth
|
||||||
@@ -22,8 +26,6 @@ services:
|
|||||||
build:
|
build:
|
||||||
# Must be relative to root, so that it can be built alongside [src]/docker-compose.yml
|
# Must be relative to root, so that it can be built alongside [src]/docker-compose.yml
|
||||||
context: ./dspace/src/main/docker/dspace-shibboleth
|
context: ./dspace/src/main/docker/dspace-shibboleth
|
||||||
networks:
|
|
||||||
dspacenet:
|
|
||||||
ports:
|
ports:
|
||||||
- published: 80
|
- published: 80
|
||||||
target: 80
|
target: 80
|
||||||
|
Reference in New Issue
Block a user