docker-compose variables and setup

This commit is contained in:
Ionut Filip
2018-10-16 12:34:55 +03:00
parent 11a8e49f05
commit 0d164486b4
9 changed files with 27 additions and 13 deletions

View File

@@ -4,13 +4,13 @@
<p>Docker Compose expects a project file, named <code>docker-compose.yml</code>
in a project directory. First create your project directory.</p>
<pre><code>mkdir /mailu
<pre><code>mkdir {{ root }}
</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>
<pre><code>cd /mailu
<pre><code>cd {{ root }}
wget {{ url_for('.file', uid=uid, filepath='docker-compose.yml', _external=True) }}
wget {{ url_for('.file', uid=uid, filepath='mailu.env', _external=True) }}
</pre></code>
@@ -30,7 +30,7 @@ files before going any further.</p>
<p>To start your compose project, simply run the Docker Compose <code>up</code>
command.</p>
<pre><code>cd /mailu
<pre><code>cd {{ root }}
docker-compose up -d
</pre></code>
{% endcall %}