docker-collector-logs
docker-collector-logs copied to clipboard
docker-compose example
Hello, I have added the following piece of code to my docker-compose file:
logz:
image: logzio/docker-collector-logs
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /var/lib/docker/containers:/var/lib/docker/containers
environment:
LOGZIO_TOKEN: "xxxx"
However when I spin up all the containers from the docker-compose, only the logs from the docker-collector-logs container are sent to logz.io. Could you provide a working example?