Closed mar-be closed 2 years ago
This PR adds the environment variables CONFIG_SERVER_HOST_NAME and CONFIG_SERVER_PORT to the environment template of the docker container.
CONFIG_SERVER_HOST_NAME
CONFIG_SERVER_PORT
Caveat: There are two environment variables to set the hostname of the config server:
CONFIG_SERVER
localhost
It would be possible to replace CONFIG_SERVER with CONFIG_SERVER_HOST_NAME. However, these requests are then not resolved in the Docker network.
Signed-off-by: Marvin Bechtold marvin.bechtold.dev@gmail.com
This PR adds the environment variables
CONFIG_SERVER_HOST_NAME
andCONFIG_SERVER_PORT
to the environment template of the docker container.Caveat: There are two environment variables to set the hostname of the config server:
CONFIG_SERVER
is used in a bash script in the docker container and usually should be the config server's container name in the docker-compose setupCONFIG_SERVER_HOST_NAME
is used by the Angular frontend. It should be eitherlocalhost
or the URL/IP of the config serverIt would be possible to replace
CONFIG_SERVER
withCONFIG_SERVER_HOST_NAME
. However, these requests are then not resolved in the Docker network.Signed-off-by: Marvin Bechtold marvin.bechtold.dev@gmail.com