2018-03-10 15:05:49 +02:00
|
|
|
{% import "macros.html" as macros %}
|
|
|
|
|
|
|
|
{% call macros.panel("info", "Step 1 - Download your configuration files") %}
|
|
|
|
<p>Docker Compose expects a project file, named <code>docker-compose.yml</code>
|
|
|
|
in a project directory. First create your project directory.</p>
|
|
|
|
|
2018-10-16 11:34:55 +02:00
|
|
|
<pre><code>mkdir {{ root }}
|
2018-03-10 15:05:49 +02:00
|
|
|
</pre></code>
|
|
|
|
|
|
|
|
<p>Then download the project file. A side configuration file makes it easier
|
|
|
|
to read and check the configuration variables generated by the wizard.</p>
|
|
|
|
|
2018-10-16 11:34:55 +02:00
|
|
|
<pre><code>cd {{ root }}
|
2018-04-22 11:53:18 +02:00
|
|
|
wget {{ url_for('.file', uid=uid, filepath='docker-compose.yml', _external=True) }}
|
|
|
|
wget {{ url_for('.file', uid=uid, filepath='mailu.env', _external=True) }}
|
2018-03-10 15:05:49 +02:00
|
|
|
</pre></code>
|
|
|
|
{% endcall %}
|
|
|
|
|
|
|
|
|
|
|
|
{% call macros.panel("info", "Step 2 - Review the configuration") %}
|
|
|
|
<p>We did not insert any malicious code on purpose in the configurations we
|
|
|
|
distribute, but your download could have been intercepted, or our wizard
|
|
|
|
website could have been compromised, so make sure you check the configuration
|
|
|
|
files before going any further.</p>
|
|
|
|
|
|
|
|
<p>When you are done checking them, check them one last time.</p>
|
|
|
|
{% endcall %}
|
|
|
|
|
|
|
|
{% call macros.panel("info", "Step 3 - Start the Compose project") %}
|
|
|
|
<p>To start your compose project, simply run the Docker Compose <code>up</code>
|
|
|
|
command.</p>
|
|
|
|
|
2018-10-16 11:34:55 +02:00
|
|
|
<pre><code>cd {{ root }}
|
2018-03-10 15:05:49 +02:00
|
|
|
docker-compose up -d
|
|
|
|
</pre></code>
|
|
|
|
{% endcall %}
|