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:
|
Optionally you can define the server name in the nginx config file, like this:
|
||||||
|
|
||||||
```
|
```conf
|
||||||
server_name laravel.dev;
|
server_name laravel.dev;
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -384,7 +384,14 @@ server_name laravel.dev;
|
|||||||
<br>
|
<br>
|
||||||
<a name="View-the-Log-files"></a>
|
<a name="View-the-Log-files"></a>
|
||||||
#### View the Log files
|
#### 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
|
dockerfile: Dockerfile-70
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- application
|
- application
|
||||||
volumes:
|
|
||||||
- ./logs/php/:/usr/local/var/log
|
|
||||||
expose:
|
expose:
|
||||||
- "9000"
|
- "9000"
|
||||||
|
|
||||||
@ -126,7 +124,7 @@ services:
|
|||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### Beanstalkd-Console Container ############################
|
### Beanstalkd Console Container ############################
|
||||||
|
|
||||||
beanstalkd-console:
|
beanstalkd-console:
|
||||||
build: ./beanstalkd-console
|
build: ./beanstalkd-console
|
||||||
@ -135,7 +133,7 @@ services:
|
|||||||
links:
|
links:
|
||||||
- beanstalkd
|
- beanstalkd
|
||||||
|
|
||||||
### Workspace Container #####################################
|
### Workspace Utilities Container ###########################
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
build: ./workspace
|
build: ./workspace
|
||||||
|
Loading…
Reference in New Issue
Block a user