<commit_before># Docker PHP environment

![screen](http://q.i-systems.pl/file/9dfcc6f8.png)

### Description

Containers set for comprehensive php application runtime environment. It consists of:

- nginx
- php5.6
- php7.0
- mysql
- source code (sample application)

There are 5 seperate containers able to speak to each other. Setting up whole environment is as simple as
run just one command. Each container is based on Ubuntu 14.04
 
This configuration derives from [Nospor's blog](http://nospor.pl/docker-zaprzegamy-kontenery-do-pracy.html). Thank you very much :)


### Setup

- Add to /etc/hosts

```
# OSX
192.168.99.100 ayeo.php56
192.168.99.100 ayeo.php70

# Linux
127.0.0.1 ayeo.php56
127.0.0.1 ayeo.php70
```

- Get config and run

```
git clone --- docker
cd docker
docker-compose up -d
```

- Check if everyting works properly

```
//php 7.0
http://ayeo.php70:8080 

//php 5.6
http://ayeo.php56:8080 
```<commit_msg>Update repository address<commit_after># Docker PHP environment

![screen](http://q.i-systems.pl/file/9dfcc6f8.png)

### Description

Containers set for comprehensive php application runtime environment. It consists of:

- nginx
- php5.6
- php7.0
- mysql
- source code (sample application)

There are 5 seperate containers able to speak to each other. Setting up whole environment is as simple as
run just one command. Each container is based on Ubuntu 14.04
 
This configuration derives from [Nospor's blog](http://nospor.pl/docker-zaprzegamy-kontenery-do-pracy.html). Thank you very much :)


### Setup

- Add to /etc/hosts

```
# OSX
192.168.99.100 ayeo.php56
192.168.99.100 ayeo.php70

# Linux
127.0.0.1 ayeo.php56
127.0.0.1 ayeo.php70
```

- Get config and run

```
git clone <EMAIL>:ayeo/docker_php_env.git docker
cd docker
docker-compose up -d
```

- Check if everyting works properly

```
//php 7.0
http://ayeo.php70:8080 

//php 5.6
http://ayeo.php56:8080 
```
{'fraction_non_alphanumeric': 0.12539515279241306, 'fraction_numerical': 0.0737618545837724, 'mean_word_length': 3.5649038461538463, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '31540', 'n_tokens_mistral': 795, 'n_tokens_neox': 667, 'n_words': 207}