# Running multiple things on the same sever as my Pi (where Discourse is hosted)?

**URL:** https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280
**Category:** Self-hosting
**Created:** [July 6, 2024, 11:42pm UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280 "2024-07-06T23:42:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 6, 2024, 11:42pm UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/1 "2024-07-06T23:42:45Z")

</div>

So, I plan to run other things on the same sever as my Pi, which will run Discourse. If I run more Discourse forums on the same Pi, how can I separate them to ensure that they don’t mess with each other?  
If I run other websites or stuff, and I put them in Docker containers, will it interfere with the Docker container my Discourse forum is using? What if I used Docker Desktop instead of the command line?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [July 7, 2024, 5:34am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/2 "2024-07-07T05:34:04Z")

</div>

I believe this is the appropriate guide for multiple Discourse instances (with same set of plugins?) in one container.

> [@Multisite configuration with Docker](https://meta.discourse.org/t/multisite-configuration-with-docker/14084):
>
> warning While multisite is supported in the Discourse application, this is an advanced sysadmin setup. If you don’t know what you’re doing, do not set up multisite. The Discourse team is unable to provide multisite configuration support. If you wish to host multiple domains on a singled Docker setup, you’ll need a multisite configuration. Here are the basic building blocks for one. Understand hooks Multisite is a fairly advanced topic. Before attempting a multisite build, spend some time…

Not sure how much extra work the Pi can take on but worth a try?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [July 7, 2024, 5:52am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/3 "2024-07-07T05:52:03Z")

</div>

This is discourse multisite no?  
There used to be another one titled “running other websites on same machine as discourse” but I can’t seem to find it.

The process overall is straightforward:  
Stop discourse,  
Install a reverse proxy like nginx  
Edit the discourse and reverse proxy configuration  
Start discourse  
Now if everything goes as planned, the reverse proxy should be serving discourse.  
You can create new sites using the same reverse proxy as webserver.

But one word of caution, the Pi is under powered, it might not be able to sustain the load of multiple websites.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 7, 2024, 5:55am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/4 "2024-07-07T05:55:12Z")

</div>

> [@itsbhanusharma](#):
>
> There used to be another one titled “running other websites on same machine as discourse” but I can’t seem to find it.

This one?

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [July 7, 2024, 5:56am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/5 "2024-07-07T05:56:55Z")

</div>

Yes, that’s the one. Thanks @JammyDodger

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 7, 2024, 10:54am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/6 "2024-07-07T10:54:23Z")

</div>

Would it then be better if I get another server to run other websites on that one, instead of mixing it up with Discourse?

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [July 7, 2024, 10:56am UTC](https://meta.discourse.org/t/running-multiple-things-on-the-same-sever-as-my-pi-where-discourse-is-hosted/315280/7 "2024-07-07T10:56:09Z")

</div>

> [@NateDhaliwal](#):
>
> What if I used Docker Desktop instead of the command line?

Anyone know about this?
