Skip to content

Commit da5262b

Browse files
author
Vincent Composieux
committed
Initialize ELK stack availability
Fix link
1 parent c4b4a58 commit da5262b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ This results in the following running containers:
4848
docker_php_1 php5-fpm -F Up 9000/tcp
4949
```
5050

51-
# Read logs
51+
# Read logs / Kibana
5252

5353
You can access Nginx and Symfony application logs in the following directories into your host machine:
5454

5555
* `logs/nginx`
5656
* `logs/symfony`
57+
58+
You can also uncomment the `elk` container section in `docker-compose.yml` in order to enable the [willdurand/elk](https://www.github.com/willdurand/docker-elk) image.

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,13 @@ nginx:
3131
- application
3232
volumes:
3333
- logs/nginx/:/var/log/nginx
34+
#elk:
35+
# image: willdurand/elk
36+
# ports:
37+
# - "81:80"
38+
# volumes:
39+
# - elk/logstash:/etc/logstash
40+
# - elk/logstash/patterns:/opt/logstash/patterns
41+
# volumes_from:
42+
# - php
43+
# - nginx

0 commit comments

Comments
 (0)