Skip to content
README.md 869 B
Newer Older
Pierre Ozoux's avatar
Pierre Ozoux committed
# known
Pierre Ozoux's avatar
Pierre Ozoux committed
Known application for IndieHosters network
Pierre Ozoux's avatar
Pierre Ozoux committed

# How to use this image

The easiest is to use our `docker-compose.yml`.

Make sure you have [docker-compose](http://docs.docker.com/compose/install/) installed. And then:

```
git clone https://github.com/indiehosters/known.git
cd known
# edit variables:
Pierre Ozoux's avatar
Pierre Ozoux committed
vi env
Pierre Ozoux's avatar
Pierre Ozoux committed
docker-compose up
```

You can now access your instance on the port 80 of the IP of your machine.

Kyle Mahan's avatar
Kyle Mahan committed
## Access it from Internet
Pierre Ozoux's avatar
Pierre Ozoux committed

We recommend the usage of SSL, so the easiest is to modify the `nginx.conf` file.

Once it is done, you can connect to the port of the host by adding this line to `docker-compose.yml`:
```
web:
...
  - ports:
    - "443:443"
    - "80:80"
...
```

## Installation

Once started, you'll arrive at the configuration wizzard.

## Backup

In order to backup, just run the `./BACKUP` script. And copy all the data to a safe place.