mdl29 / scratchy

Scratchy, application de tchat projet LPH
GNU General Public License v3.0
2 stars 8 forks source link

147 [deployment] Add Fluentd to docker environment. #251

Open landerneRPi opened 3 years ago

landerneRPi commented 3 years ago

Add fluentd image, configuration in docker environment. Needs elasticsearch: next PR.

Benvii commented 3 years ago

Fluentd is actually useless if we don't feed it with our applications/containers logs (I don't think it's done automatically). In my understanding we need to use fluentd log driver for each containers.

See the documentation here : https://docs.fluentd.org/v/0.12/container-deployment/docker-compose#step-0-prepare-docker-compose.yml

This PR should be more complete :