Replies: 3 comments
|
same here but I suppose this can be done in the /data/nginx/custom/root_top.conf by defining a variable there? Didn't check yet |
|
Has anyone tried this? |
|
If you run as docker you absolutely can! DO NOTE: your port mapping doesn't matter, you don't even need one since your NPM is talking on the docker-network level. Thus each container is like a separate machine with its own ports -> 2 services can have the same port and it'll look something like: YOU HAVE TO TALK IN INTERNAL PORTS, exterals aren't recognised inside the docker network. Man is that clean tho! |
Uh oh!
There was an error while loading. Please reload this page.
Many of my docker apps are on the same network as NPM so i can just set their docker name as the location. but apps runnign directly on the host I have to use the IP address. is it possible to define a name that translates directly to the ip address, so that I can set the locations of those app to that name, and then if for whatever reason the computer's ip address changes I just have to update one entry, or have that set automatically?
All reactions