Page History
...
- For example, create a new
config.dev.yml
file inconfig/
for adevelopment
environment; - For example, create a new
config.prod.yml
file inconfig/
for aproduction
environment;
The "ui" and "rest" sections of the configuration may Configurations can also be overridden separately via one of the following
By setting any of the following environment variables in your systemUsing Environment variables. All environment variables MUST be prefixed with "DSPACE_", use underscores as separators (no dots allowed), and use all uppercase. Some examples are below:
Code Block # "ui" settings environment variables ui.host => DSPACE_UI_HOST # The host name of the angular application ui.port => DSPACE_UI_PORT # The port number of the angular application ui.nameSpace => DSPACE_UI_NAMESPACE # The namespace of the angular application ui.ssl => DSPACE_UI_SSL # Whether the angular application uses SSL [true/false] # "rest" settings environment variables rest.host => DSPACE_REST_HOST # The host name of the REST application rest.port => DSPACE_REST_PORT # The port number of the REST application rest.nameSpace => DSPACE_REST_NAMESPACE # The namespace of the REST application rest.ssl => DSPACE_REST_SSL # Whether the angular REST uses SSL [true/false] # Other examples defaultLanguage => DSPACE_DEFAULTLANGUAGE mediaViewer.video => DSPACE_MEDIAVIEWER_VIDEO
- Or, by creating a
.env
(environment) file in the project root directory and setting the environment variables in that location.
...
Overview
Content Tools