diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-28 08:53:30 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-28 08:53:30 +0100 |
commit | d3f7d2935986c5be36c702d9a5e1b4500b488d2a (patch) | |
tree | 110338d8b8006b4fe41ff1cde6599aeb953e3b30 /README.md | |
parent | a1ac8b74efe5c65ba1514f3e5fd4bb8bec690fd1 (diff) |
Docker-compose setup for ui is not working
- use correct image repository
- remove all references to portal-[bff|preferences|history] and use the non-prefixed versions
- fix Keycloak realm settings
Issue-ID: PORTALNG-83
Change-Id: If86c6e13fa10584b3e209ad777f7f85d9cb3afe5
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ npm start ``` ### Developing against local containers -We are providing a docker-compose file that can be used to spin up the portal-ng and it's dependencies (like Keycloak or the portal-bff) on your machine. +We are providing a docker-compose file that can be used to spin up the portal-ng and it's dependencies (like Keycloak or the bff) on your machine. To do that, execute the `run.sh` in the development folder: ```shell @@ -62,7 +62,7 @@ In the configuration of nginx (the `nginx.template`) we have a few environment v ```bash export NGINX_PORT=80 -export BFF_URL=http://portal-bff:9080/ +export BFF_URL=http://bff:9080/ export WIREMOCK_URL=http://wiremock:8080/ ``` @@ -75,7 +75,7 @@ docker build -t portal-ng . ### Run the docker image ```bash -docker run -e "NGINX_PORT=80" -e "BFF_URL=http:portal-bff:9080/" -e "WIREMOCK_URL=http://wiremock:8080/" -p 8080:80 portal-ng +docker run -e "NGINX_PORT=80" -e "BFF_URL=http:bff:9080/" -e "WIREMOCK_URL=http://wiremock:8080/" -p 8080:80 portal-ng ``` Note that this will not work on its own, because the referenced containers (`BFF` and `WIREMOCK`) are most likely not available in your local environment. You would have to run them as well, or pass in other urls (like `example.com`) to get the container running locally. Obviously this does not get you very far though. |