# Discourse hosting for staging environments

**URL:** https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407
**Category:** Self-hosting
**Created:** [February 12, 2018, 7:24pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407 "2018-02-12T19:24:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![rikikonikoff](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rikikonikoff](https://meta.discourse.org/u/rikikonikoff)
#### Post date: [February 12, 2018, 7:24pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/1 "2018-02-12T19:24:07Z")

</div>

I work on a Rails app that currently runs Discourse with a custom plugin. The plugin was created and set up by an external contractor. My team now wants a way to mimic our production setup for each of our staging environments, and we’re pretty confused about where to start.

We want to either host the staging versions of Discourse on AWS or Heroku (preferably Heroku, because they make deploying simpler). None of us are particularly familiar with Docker so we would prefer not to use that.

We don’t know what our current setup is, because we did not set it up. I contacted the Discourse team directly and they pointed me here for help. Not really sure who to ask, but can anyone assist me?

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [February 12, 2018, 7:40pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/2 "2018-02-12T19:40:39Z")

</div>

Not Heroku. It’s probably possible to make it work, but it wouldn’t be the supported configuration, and since your production setup probably is hopefully using the supported configuration, it wouldn’t be a proper mimic.

It would probably be best to use the 5$/mo DigitalOcean setup. It’s cheaper than AWS, and it would match production more closely than the frankenstein setup you’d end up with getting Discourse to run on Heroku.

---

<div class="post-metadata">

### Author: ![rikikonikoff](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rikikonikoff](https://meta.discourse.org/u/rikikonikoff)
#### Post date: [February 12, 2018, 7:43pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/3 "2018-02-12T19:43:42Z")

</div>

How can I find out what my current production configuration is?

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [February 12, 2018, 8:33pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/4 "2018-02-12T20:33:51Z")

</div>

Who’s paying the bills for it?

---

<div class="post-metadata">

### Author: ![rikikonikoff](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rikikonikoff](https://meta.discourse.org/u/rikikonikoff)
#### Post date: [February 12, 2018, 8:40pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/5 "2018-02-12T20:40:57Z")

</div>

My company, but none of us did the setup

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [February 12, 2018, 9:15pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/6 "2018-02-12T21:15:45Z")

</div>

You should talk to whoever did the initial setup, to either get on-going support, or a handover document with full details of the environment. If you didn’t get any sort of handover from whoever did the setup, then they’ve left you in the lurch, and you’re in a bit of a pickle. All infrastructure needs a certain amount of maintenance, and if you don’t know anything about the environment you’re running in, you don’t have any way to perform that maintenance.

---

<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 12, 2018, 9:28pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/7 "2018-02-12T21:28:01Z")

</div>

> [@rikikonikoff](#):
>
> None of us are particularly familiar with Docker so we would prefer not to use that.

Then you’d be on your own, as the standard docker install is all that’s supported here. Unless you have already figured out a way that _you_ think is easier to install Discourse, you almost certainly **do** prefer to use Docker.

> [@rikikonikoff](#):
>
> How can I find out what my current production configuration is?

Can you get root access to the server? That’d be the first step.

If you can’t do that, then you can look at /admin/plugins to see what plugins are installed (but not where it came from, so hopefully the person who set it up will tell you). Then just back the server up and restore the backup to the new server.

Like @mpalmer said, your best bet is to get the guy who set it up to help you out. If that’s not an option for some reason, then I might be able to help, Discourse installation and support is a big part of [what I do](https://www.literatecomputing.com/). You can contact me via my site or the email address in my profile.

---

<div class="post-metadata">

### Author: ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### Post date: [February 12, 2018, 9:37pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/8 "2018-02-12T21:37:01Z")

</div>

> [@rikikonikoff](#):
>
> My company, but none of us did the setup

Who does your company send the monthly bill to?

---

<div class="post-metadata">

### Author: ![rikikonikoff](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rikikonikoff](https://meta.discourse.org/u/rikikonikoff)
#### Post date: [February 13, 2018, 4:02pm UTC](https://meta.discourse.org/t/discourse-hosting-for-staging-environments/80407/9 "2018-02-13T16:02:50Z")

</div>

Thanks for the help. I’ll do some more digging to see if anyone on my team has any info they’re not sharing…and then I’ll reach out if I need more assistance.
