it-at-m / refarch-templates

All templates for the Reference Architecture of it@M
MIT License
6 stars 3 forks source link

[Maintenance] Find Alternatives for hosts file changes #150

Open DanielOber opened 1 month ago

DanielOber commented 1 month ago

Relevant template

No response

Problem description (optional)

If the gateway is runnning inside a container, it needs redirecting to the keycloak. At the moment it is only possible if you manipulate the hostsfile to redirect keycloak:8080 to localhost:8080. For changing the hostsfile itself you need admin rights on your pc.

Desired solution

find a solution to the redirect possible without changes inside the hostsfile

Considered alternatives (optional)

No response

Additional context (optional)

No response

No duplicate

Code of Conduct

devtobi commented 1 month ago

Maybe we can use https://github.com/dvddarias/docker-hoster running as privileged container.

This looks pretty promising.