<commit_before># Reception

A dashboard and reverse proxy for your
[**docker-compose**](https://docs.docker.com/compose/) projects. It does not require any dependencies but _Docker_.

![screenshot](https://user-images.githubusercontent.com/804532/30865946-41f08066-a2d8-11e7-86d1-fbe28a418c71.png)

## About

This program shows all _docker-compose_ projects that are running on a handy overview page.
It has a built-in reverse-proxy, so that any container's exposed port are accessible as '_http://container.composeproject.docker_'.
In order to be able to resolve '_anything_.docker' to *localhost*, this tool also ships a tiny tiny DNS server.

As a result, you'll be able to access your _docker-compose_ projects as *container.compose-project.docker*,
and the traffic will automatically be forwarded to the corresponding port,
even as you fire up and shut down new _docker-compose_ projects.

## Installation

For resolving `*.docker` to `localhost` (i.e. `127.0.0.1` or `::1`), changes to your local configuration are required.

Btw, we assume you have _Docker_ and _docker-compose_ already installed.

### Linux

Make sure that *reception* is responsible for resolving the `.docker` TLD:

    sudo -s
    mkdir /etc/resolver
    echo "nameserver ::1" > /etc/resolver/docker
    echo "nameserver 127.0.0.1" >> /etc/resolver/docker

Now run *reception*:

    sudo reception

Try to go to http://reception.docker.

### macOS

Install *reception* using [homebrew](https://brew.sh/):

    brew install ninech/reception/reception<commit_msg>✨ Improved Linux usage guidelines<commit_after># Reception

A dashboard and reverse proxy for your
[**docker-compose**](https://docs.docker.com/compose/) projects. It does not require any dependencies but _Docker_.

![screenshot](https://user-images.githubusercontent.com/804532/30865946-41f08066-a2d8-11e7-86d1-fbe28a418c71.png)

## About

This program shows all _docker-compose_ projects that are running on a handy overview page.
It has a built-in reverse-proxy, so that any container's exposed port are accessible as '_http://container.composeproject.docker_'.
In order to be able to resolve '_anything_.docker' to *localhost*, this tool also ships a tiny tiny DNS server.

As a result, you'll be able to access your _docker-compose_ projects as *container.compose-project.docker*,
and the traffic will automatically be forwarded to the corresponding port,
even as you fire up and shut down new _docker-compose_ projects.

## Installation

For resolving `*.docker` to `localhost` (i.e. `127.0.0.1` or `::1`), changes to your local configuration are required.

Btw, we assume you have _Docker_ and _docker-compose_ already installed.

### Linux

Fetch and build reception:

    go get github.com/ninech/reception

Make sure that *reception* is responsible for resolving the `.docker` TLD:

    sudo -s
    mkdir /etc/resolver
    echo "nameserver ::1" > /etc/resolver/docker
    echo "nameserver 127.0.0.1" >> /etc/resolver/docker

Now run *reception*:

    sudo reception

Try to go to http://reception.docker.

### macOS

Install *reception* using [homebrew](https://brew.sh/):

    brew install ninech/reception/reception
{'fraction_non_alphanumeric': 0.10075805432722679, 'fraction_numerical': 0.03158559696778269, 'mean_word_length': 4.26955074875208, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3240146', 'n_tokens_mistral': 1059, 'n_tokens_neox': 949, 'n_words': 356}