mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-20 05:17:53 +00:00
REL-0.9 Slight documentation improvements
This commit is contained in:
parent
f587156df1
commit
aff160a07f
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user