2019-07-12 23:20:55 +02:00
---
layout: default
title: Docker
2019-07-27 13:04:06 +02:00
permalink: /install/docker
parent: Install
2019-07-12 23:20:55 +02:00
---
## Install with docker
2019-07-17 00:41:08 +02:00
**You do not need to clone the full repo as we distribute gancio via npm.**
[Dockerfile ](https://git.lattuga.net/cisti/gancio/raw/docker/docker/Dockerfile ) and [docker-compose.yml ](https://git.lattuga.net/cisti/gancio/raw/docker/docker/docker-compose.yml ) are the only needed files.
2019-07-12 23:20:55 +02:00
2019-07-17 00:41:08 +02:00
1. Create a directory where everything related to gancio is stored (db, images, config)
```bash
mkdir /opt/gancio
cd /opt/gancio
```
:information_source: you can choose a different directory of course
1. Download docker-compose.yml and Dockerfile
```bash
wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/Dockerfile
wget https://git.lattuga.net/cisti/gancio/raw/docker/docker/docker-compose.yml
```
1. Create an empty configuration file
```
touch config.json
```
< small > After first setup, you can modify this file and restart the container on your needs.< / small >
1. Build docker image and launch interactive setup in one step
```
docker-compose run --rm gancio gancio setup
```
1. Run your container
```bash
docker-compose up -d
```
1. [Setup nginx as a proxy ](/setup/nginx )
2019-07-27 13:04:06 +02:00
1. Point your web browser to [http://localhost:13120 ](http://localhost:13120 ) or where you specified during setup and enjoy :tada: