REL-0.9 Slight documentation improvements

This commit is contained in:
cytopia 2017-05-21 13:10:37 +02:00
parent f587156df1
commit aff160a07f
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
3 changed files with 8 additions and 6 deletions

View File

@ -31,7 +31,7 @@ It is best to use the hostnames and not to rely on the ip addresses as they migh
| MySQL / MariaDB | mysql | mysql | 172.16.238.12 |
| PostgreSQL | pgsql | pgsql | 172.16.238.13 |
| Redis | redis | redis | 172.16.238.14 |
| Memcahed | memcd | memcd | 172.16.238.15 |
| Memcached | memcd | memcd | 172.16.238.15 |
### Background
@ -46,7 +46,7 @@ The PHP container is using [socat](https://linux.die.net/man/1/socat) to
1. forward the remote mysql port `3306` (on the mysql container) to its own `127.0.0.1:3306`
2. forward the remote pgsql port `5432` (on the mysql container) to its own `127.0.0.1:5432`
3. forward the remote redis port `6379` (on the mysql container) to its own `127.0.0.1:6379`
3. forward the remote mecahced port `11211` (on the memcd container) to its own `127.0.0.1:11211`
3. forward the remote memcached port `11211` (on the memcd container) to its own `127.0.0.1:11211`
#### Background - Docker Host

View File

@ -16,6 +16,8 @@ Overview |
## Overview
![Devilbox](img/devilbox-dash.png)
This is a brief overview to get you started as quick as possible. For in-depth documentation use the navigation above.

View File

@ -98,13 +98,13 @@ The `php` container (which might also have hhvm installed, depending on your ver
> **Note:** If you also have php installed locally on your host machine (and it is the php version of your choice), there is no need to enter the php container, just execute all the required commands on your project dir.
To enter the php container, type the following:
To enter the php container, type the following in the devilbox root directory:
```shel
$ docker-compose exec --user apache php env TERM=xterm bash -l
$ ./bash.sh
```
You can alternatively also just execute the bundled script `enter.sh`
You can alternatively also enter as root:
```
$ ./enter.sh
$ ./root_bash.sh
```
#### 3.2 Find your project files