postalserver / docs

📚 Documentation for the Postal mail server!
https://docs.postalserver.io
137 stars 61 forks source link

Docker compose file version outdated when initializing postal #30

Closed vanvanni closed 1 year ago

vanvanni commented 1 year ago

I installed docker-compose via apt and I run into version errors of the docker compose file. What would be recommended to do?

ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
willpower232 commented 1 year ago

You should definitely follow dockers instructions for installing compose as the apt version of docker compose is going to be quite out of date

https://docs.docker.com/compose/install/