Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose example #55

Open
PabloCastellano opened this issue Mar 27, 2023 · 0 comments
Open

docker-compose example #55

PabloCastellano opened this issue Mar 27, 2023 · 0 comments

Comments

@PabloCastellano
Copy link

PabloCastellano commented Mar 27, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant