Public Repository

Last pushed: 3 months ago
Short Description
Angular App served by a nodejs server
Full Description

Configuration

the following environment-variables need to be passed to the container

Variable Name explanation example
ANGULAR_ENVIRONMENT in which environment the app should run prod or dev
ANGULAR_HOST Host-IP or domain the CodeInspector UI should run on http:\\/\\/localhost
PERSISTENCE_ENDPOINT Endpoint of Persistence Server
INPUT1_ENDPOINT Endpoint of Input1 Server
REACTIVE_ENDPOINT Endpoint of Reactive Server
INPUT2_ENDPOINT Endpoint of Input2 Server
ANGULAR_SERVER_ENDPOINT Endpoint for Nodejs Websocket of DA_UI_Angular_Server ws:\\/\\/localhost:7000

Notice
When setting a url in the variable, you need to double-escape special characters.
Instead of VARIABLE_NAME=http://someboringurlorip:8080 you need to
write

VARIABLE_NAME=http:\\/\\/someboringurlorip:8080

Run

the following command is an example that shows how to run the container

docker run -e "ANGULAR_HOST=0.0.0.0" -e "ANGULAR_SERVER_ENDPOINT=ws:\\/\\/localhost:7000" -e "PERSISTENCE_ENDPOINT=http:\\/\\/141.18.109.168:9090" -e "ANGULAR_ENVIRONMENT=prod" -p 4200:4200 khenrik/ss17dateama_client:latest
Docker Pull Command
Owner
khenrik

Comments (0)