# Discourse Docker + Other Rails App on the same droplet

**URL:** <https://meta.discourse.org/t/discourse-docker-other-rails-app-on-the-same-droplet/23673>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [2015 年1 月 5 日 07:23 UTC](https://meta.discourse.org/t/discourse-docker-other-rails-app-on-the-same-droplet/23673 "2015-01-05T07:23:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![chrisalley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisalley/32/119703_2.png) [@chrisalley](https://meta.discourse.org/u/chrisalley)\
发布日期： [2015 年1 月 5 日 07:23 UTC](https://meta.discourse.org/t/discourse-docker-other-rails-app-on-the-same-droplet/23673/1 "2015-01-05T07:23:36Z")

</div>

I already have a Discourse installation set up on Digital Ocean with Docker using the [beginner guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md). I wish to put a second Rails app on the same droplet. I see that there’s a similar discussion in [this topic](https://meta.discourse.org/t/what-is-the-best-method-of-running-another-rails-app-on-the-same-server-as-discourse/9623) and [this other topic](https://meta.discourse.org/t/hosting-other-ruby-on-rails-app-side-by-side-with-discourse/17610) but no specific solution described in detail.

The sites need to be set up like this:

Other Rails App: [http://www.mysite.com](http://www.mysite.com) and [http://mysite.com](http://mysite.com)  
Discourse Docker: [http://forums.mysite.com](http://forums.mysite.com)

Alternatively a seperate droplet could be used for the other Rails app, but if possible I would like to configure nginx to have them on the same droplet. I’m just not sure how to configure nginx to point to both the Docker Discourse app and a regular Rails app. Any pointers would be appreciated. This seems like it would be a common configuration worth documenting here.

---

_[View the full topic](https://meta.discourse.org/t/discourse-docker-other-rails-app-on-the-same-droplet/23673)._
