# How to run separate web and data containers?

**URL:** https://meta.discourse.org/t/how-to-run-separate-web-and-data-containers/26361
**Category:** Support
**Created:** [March 15, 2015, 2:23pm UTC](https://meta.discourse.org/t/how-to-run-separate-web-and-data-containers/26361 "2015-03-15T14:23:01Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)
#### Post date: [March 15, 2015, 5:15pm UTC](https://meta.discourse.org/t/how-to-run-separate-web-and-data-containers/26361/2 "2015-03-15T17:15:07Z")

</div>

There are plenty of topics on this exact subject already, and although it may take some figuring out if you’re a newbie, you should find some information to start [here](https://github.com/discourse/discourse_docker)

This topic may also prove useful: [How to use Docker multiple containers without exposing ports](https://meta.discourse.org/t/how-to-use-docker-multiple-containers-without-exposing-ports/22283)

If you’ve followed the official guide then you’ll know about the discourse docker repository. In that, you had to edit an app.yml file. That contains all the information the launcher script needs to build a web, redis and postgres container in one.

Instead of using app.yml, there are other samples that you can use which are data.yml and web\_only.yml. Guess what these do? 😉

Go ahead and have a play. You will need a full day or two to understand everything that’s going on and configure things. If you’re still struggling after all that then post back here and I’ll help you as much as I can.

---

_[View the full topic](https://meta.discourse.org/t/how-to-run-separate-web-and-data-containers/26361)._
