Vitaly Bezgachev
Sep 4, 2018 · 1 min read

Hi!

You can change it in detector-app/src/environments/environment.ts, detectorServiceHost variable — just set it to desired IP address and rebuild the Docker image. This is a quick solution if you want to try it yourself.

If you strive to bring it into production then the more appropriate way is using of the environment.prod.ts, which is filled with production parameters, and building the application with

ng build -op ./dist -aot --env=prod

(this is a step in the Dockerfile).

    Vitaly Bezgachev

    Written by

    Engineering Manager @Klarna, lifelong learner

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade