Line 443:
Line 443:
−
== Docker tips and trick ==
+
==Docker tips and trick==
The main and recommended way to Install Discourse is using Docker containers system (it contains everything required to run Discourse : Ruby, Sidekiq, Redis, PostgreSQL with the appropriate version and does not mess with the host data).
The main and recommended way to Install Discourse is using Docker containers system (it contains everything required to run Discourse : Ruby, Sidekiq, Redis, PostgreSQL with the appropriate version and does not mess with the host data).
The quick start guide is great for installation : https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#install-docker--git
The quick start guide is great for installation : https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#install-docker--git
+
Data that should be preserved when the containers die (PostgreSQL database data files, users uploads, etc.), are persisted on the host.
Data that should be preserved when the containers die (PostgreSQL database data files, users uploads, etc.), are persisted on the host.
Line 453:
Line 454:
<code>/var/discourse/shared/standalone</code>
<code>/var/discourse/shared/standalone</code>
+
==PostgreSQL tips and trick==
==PostgreSQL tips and trick==