jeboehm / docker-mailserver

Docker Mailserver based on the famous ISPMail guide
MIT License
368 stars 97 forks source link

ERROR: Version in "./docker-compose.yml" is unsupported. #68

Closed Funory closed 5 years ago

Funory commented 5 years ago

Fix your code men!!

ENV: Docker version 18.09.6, build 481bc77 docker-compose version 1.8.0, build unknown Linux Debian 9

REPRODUCE: ./bin/production.sh pull

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 version of "2" (or "2.0") 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/
jeboehm commented 5 years ago

facepalm