docker-collector-logs icon indicating copy to clipboard operation
docker-collector-logs copied to clipboard

docker-compose example

Open PabloCastellano opened this issue 1 year ago • 0 comments

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?

PabloCastellano avatar Mar 27 '23 18:03 PabloCastellano