# Web-only - do I need a separate image for each container?

**URL:** https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549
**Category:** Self-hosting
**Created:** [February 7, 2024, 2:51pm UTC](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549 "2024-02-07T14:51:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 7, 2024, 6:54pm UTC](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549/2 "2024-02-07T18:54:57Z")

</div>

Yes, you can use the single postgres for multiple Discourse sites, but unless you’re going to use multisite (see [Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084)), each needs its own redis.

You’d need to create another database, and configure the second web container to use that one instead o fth eone named Discourse.

---

_[View the full topic](https://meta.discourse.org/t/web-only-do-i-need-a-separate-image-for-each-container/294549)._
