update the logs section
This commit is contained in:
parent
16a1041ef5
commit
2c05c87400
11
README.md
11
README.md
@ -374,7 +374,7 @@ DB_HOST=xxx.xxx.xxx.xxx
|
||||
|
||||
Optionally you can define the server name in the nginx config file, like this:
|
||||
|
||||
```
|
||||
```conf
|
||||
server_name laravel.dev;
|
||||
```
|
||||
|
||||
@ -384,7 +384,14 @@ server_name laravel.dev;
|
||||
<br>
|
||||
<a name="View-the-Log-files"></a>
|
||||
#### View the Log files
|
||||
The Log files are stored in the `docker/logs` directory.
|
||||
The Nginx Log file is stored in the `logs/nginx` directory.
|
||||
|
||||
However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this:
|
||||
|
||||
```bash
|
||||
docker logs {container-id}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -10,8 +10,6 @@ services:
|
||||
dockerfile: Dockerfile-70
|
||||
volumes_from:
|
||||
- application
|
||||
volumes:
|
||||
- ./logs/php/:/usr/local/var/log
|
||||
expose:
|
||||
- "9000"
|
||||
|
||||
@ -126,7 +124,7 @@ services:
|
||||
links:
|
||||
- php-fpm
|
||||
|
||||
### Beanstalkd-Console Container ############################
|
||||
### Beanstalkd Console Container ############################
|
||||
|
||||
beanstalkd-console:
|
||||
build: ./beanstalkd-console
|
||||
@ -135,7 +133,7 @@ services:
|
||||
links:
|
||||
- beanstalkd
|
||||
|
||||
### Workspace Container #####################################
|
||||
### Workspace Utilities Container ###########################
|
||||
|
||||
workspace:
|
||||
build: ./workspace
|
||||
|
Loading…
Reference in New Issue
Block a user