Graylog2 / docker-compose

A set of Docker Compose files that allow you to quickly spin up a Graylog instance for testing or demo purposes.
Apache License 2.0
396 stars 138 forks source link

Does not work with Version: 3.7 in docker-compose.yml #3

Closed ghost closed 3 years ago

ghost commented 3 years ago

Ubuntu 20.04.2 LTS I can't use Version 3.8 in docker-compose.yml due to the existing docker-ce and docker-compose versions on my system

And using Version: 3.7 in the docker-compose.yml file gives me the error: ERROR: The Compose file './docker-compose.yml' is invalid because: services.graylog.depends_on contains an invalid type, it should be an array

malcyon commented 3 years ago

@mridulweb It works fine for me, even after changing the version in docker-compose.yml to 3.7. I am also on Ubuntu 20.04.2 LTS, and I'm running this version of Docker:

donald@laptop:~/src/docker-compose$ docker --version
Docker version 20.10.6, build 370c289
donald@laptop:~/src/docker-compose$ docker-compose --version
docker-compose version 1.27.4, build 40524192

Questions:

ghost commented 3 years ago

Hello, thank you for the prompt reply, I actually upgraded my docker-compose, and everything worked fine! Cheers!

malcyon commented 3 years ago

Great! Let me know if you run into any other problems.