Skip to content

Commit 2c05c87

Browse files
committed
update the logs section
1 parent 16a1041 commit 2c05c87

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ DB_HOST=xxx.xxx.xxx.xxx
374374

375375
Optionally you can define the server name in the nginx config file, like this:
376376

377-
```
377+
```conf
378378
server_name laravel.dev;
379379
```
380380

@@ -384,7 +384,14 @@ server_name laravel.dev;
384384
<br>
385385
<a name="View-the-Log-files"></a>
386386
#### View the Log files
387-
The Log files are stored in the `docker/logs` directory.
387+
The Nginx Log file is stored in the `logs/nginx` directory.
388+
389+
However to view the logs of all the other containers (MySQL, PHP-FPM,...) you can run this:
390+
391+
```bash
392+
docker logs {container-id}
393+
```
394+
388395

389396

390397

docker-compose.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ services:
1010
dockerfile: Dockerfile-70
1111
volumes_from:
1212
- application
13-
volumes:
14-
- ./logs/php/:/usr/local/var/log
1513
expose:
1614
- "9000"
1715

@@ -126,7 +124,7 @@ services:
126124
links:
127125
- php-fpm
128126

129-
### Beanstalkd-Console Container ############################
127+
### Beanstalkd Console Container ############################
130128

131129
beanstalkd-console:
132130
build: ./beanstalkd-console
@@ -135,7 +133,7 @@ services:
135133
links:
136134
- beanstalkd
137135

138-
### Workspace Container #####################################
136+
### Workspace Utilities Container ###########################
139137

140138
workspace:
141139
build: ./workspace

0 commit comments

Comments
 (0)