How to configure static IP for discourse container


(William Di Luigi) #1

Since docker 1.10 it’s possible to set a static IP address for docker containers. This is useful when you have a nginx instance managing a lot of sites.

I guess one should edit the .yml file, but I’m not sure how


(Matt Palmer) #2

You should use links, rather than hard-coded IPs, to refer to other containers.


(William Di Luigi) #3

But I need to refer to a container from the actual host, not from another container, how could links help?