Ensure default Dockerfile starts in dev mode & has appropriate memory allocated. Enhance comments in -dist.yml

This commit is contained in:
Tim Donohue
2023-04-12 11:42:37 -05:00
parent 72fad0a6c9
commit 113703ff6b
3 changed files with 15 additions and 5 deletions

View File

@@ -19,6 +19,10 @@ services:
DSPACE_UI_HOST: dspace-angular
DSPACE_UI_PORT: '4000'
DSPACE_UI_NAMESPACE: /
# NOTE: When running the UI in production mode (which the -dist image does),
# these DSPACE_REST_* variables MUST point at a public, HTTPS URL.
# This is because Server Side Rendering (SSR) currently requires a public URL,
# see this bug: https://github.com/DSpace/dspace-angular/issues/1485
DSPACE_REST_SSL: 'true'
DSPACE_REST_HOST: api7.dspace.org
DSPACE_REST_PORT: 443

View File

@@ -24,7 +24,6 @@ services:
DSPACE_REST_HOST: localhost
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: /server
# NODE_OPTIONS: --max_old_space_size=6144
image: dspace/dspace-angular:dspace-7_x
build:
context: ..