mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Add angular option
This commit is contained in:
25
dspace/src/main/docker-compose/docker-compose-angular.yml
Normal file
25
dspace/src/main/docker-compose/docker-compose-angular.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
version: '3.7'
|
||||||
|
networks:
|
||||||
|
dspacenet:
|
||||||
|
services:
|
||||||
|
dspace-angular:
|
||||||
|
container_name: dspace-angular
|
||||||
|
depends_on:
|
||||||
|
- dspace
|
||||||
|
environment:
|
||||||
|
DSPACE_HOST: dspace-angular
|
||||||
|
DSPACE_NAMESPACE: /
|
||||||
|
DSPACE_PORT: '3000'
|
||||||
|
DSPACE_SSL: "false"
|
||||||
|
image: dspace/dspace-angular:latest
|
||||||
|
networks:
|
||||||
|
dspacenet: {}
|
||||||
|
ports:
|
||||||
|
- published: 3000
|
||||||
|
target: 3000
|
||||||
|
- published: 9876
|
||||||
|
target: 9876
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
volumes:
|
||||||
|
- ./environment.dev.js:/app/config/environment.dev.js
|
16
dspace/src/main/docker-compose/environment.dev.js
Normal file
16
dspace/src/main/docker-compose/environment.dev.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* The contents of this file are subject to the license and copyright
|
||||||
|
* detailed in the LICENSE and NOTICE files at the root of the source
|
||||||
|
* tree and available online at
|
||||||
|
*
|
||||||
|
* http://www.dspace.org/license/
|
||||||
|
*/
|
||||||
|
module.exports = {
|
||||||
|
rest: {
|
||||||
|
ssl: false,
|
||||||
|
host: 'localhost',
|
||||||
|
port: 8080,
|
||||||
|
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
||||||
|
nameSpace: '/server/api'
|
||||||
|
}
|
||||||
|
};
|
Reference in New Issue
Block a user