# Ansible-discourse: Install Discourse with Ansible (without Docker)

**URL:** <https://meta.discourse.org/t/ansible-discourse-install-discourse-with-ansible-without-docker/31215>\
**Category:** Self-hosting\
**Tags:** unsupported-install, hosting\
**Created:** [Julho 20, 2015, 4:38pm UTC](https://meta.discourse.org/t/ansible-discourse-install-discourse-with-ansible-without-docker/31215 "2015-07-20T16:38:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Julho 21, 2015, 10:05am UTC](https://meta.discourse.org/t/ansible-discourse-install-discourse-with-ansible-without-docker/31215/5 "2015-07-21T10:05:01Z")

</div>

There is tons of tuning in the Docker install.

From a very particular way of running unicorn (so it forks out sidekiq) to jemalloc, out-of-band gc and gc tuning.

The Ruby 2.2 image we have (which is enabled on meta) is a custom build of Ruby with method cache patches. Unfortunately, even patched we are struggling to meet the same memory and cpu perf we get on 2.0, hence it is not yet default.

A lot of the tuning is in the templates.

---

_[View the full topic](https://meta.discourse.org/t/ansible-discourse-install-discourse-with-ansible-without-docker/31215)._
