{"@type":"WebPage","url":"https://gancio.org/setup/docker","headline":"Docker","description":"A shared agenda for local communities","@context":"https://schema.org"}</script>
<pclass="text-small text-grey-dk-000 mb-0">This site uses <ahref="https://github.com/pmarsceill/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll.</p>
<h2id="install-with-docker">Install with docker</h2>
<p><strong>You do not need to clone the full repo as we distribute gancio via npm.</strong><br>
<ahref="https://git.lattuga.net/cisti/gancio/raw/docker/docker/Dockerfile">Dockerfile</a> and <ahref="https://git.lattuga.net/cisti/gancio/raw/docker/docker/docker-compose.yml">docker-compose.yml</a> are the only needed files.</p>
<ol>
<li>Create a directory where everything related to gancio is stored (db, images, config)
<p><imgclass="emoji"title=":information_source:"alt=":information_source:"src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png"height="20"width="20"> you can choose a different directory of course</p>
<p><small>After first setup, you can modify this file and restart the container on your needs.</small></p>
</li>
<li>Build docker image and launch interactive setup in one step
<divclass="highlighter-rouge">
<divclass="highlight"><preclass="highlight"><code>docker-compose run --rm gancio gancio setup
</code></pre></div></div>
</li>
<li>Run your container
<divclass="language-bash highlighter-rouge">
<divclass="highlight"><preclass="highlight"><code>docker-compose up <spanclass="nt">-d</span>
</code></pre></div></div>
</li>
<li>
<p><ahref="/setup/nginx">Setup nginx as a proxy</a></p>
</li>
<li>Point your web browser to <ahref="http://localhost:13120">http://localhost:13120</a> or where you specified during setup and enjoy <imgclass="emoji"title=":tada:"alt=":tada:"src="https://github.githubassets.com/images/icons/emoji/unicode/1f389.png"height="20"width="20">