# Linking containers

**URL:** <https://meta.discourse.org/t/linking-containers/13694>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [13 مارس 2014، 2:22م UTC](https://meta.discourse.org/t/linking-containers/13694 "2014-03-13T14:22:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![resure](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/resure/32/107229_2.png) [@resure](https://meta.discourse.org/u/resure)\
**Post date:** [13 مارس 2014، 2:22م UTC](https://meta.discourse.org/t/linking-containers/13694/1 "2014-03-13T14:22:45Z")

</div>

What is correct way to connect web-only and data Discourse docker containers?

There is note about `DISCOURSE_HOST_IP` in readme, but how should we specify that variable in container config yml file? Can we just [link that images together?](http://stackoverflow.com/questions/18460016/connect-from-one-docker-container-to-another)

---

_[View the full topic](https://meta.discourse.org/t/linking-containers/13694)._
