Is docker-compose `version: "3.2"` necessary?

As far as I can tell then none of Scaleway’s servers support the latest docker-compose because of their architectures (e.g. aarch64), so my probably stupid question is if it’s possible to use version: '2' in the docker-compose.yml file?

As far as I can tell then it seems to be working fine with verion 2, but I’m not sure if I would encounter some problems if the future by using 2 instead of 3.2?

This is up to you. We only provide YML. if you use an older or newer version. That will depend a lot on your need. Obviously features of a higher version of the Docker-compose would not work on older versions. But it does not influence Dgraph at all.

To know this you need to evaluate all versions of Docker-compose. And see what can be good or bad by adopting an older or newer version.

Anyway, if you need to use an older version. That’s neutral to the Dgraph. But support for older docker-compose yml versions you will only have in the docker community.

Cheers.

1 Like