mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.71k stars 500 forks source link

The Compose file './docker-compose.yaml' is invalid #296

Closed mohmafia closed 2 years ago

mohmafia commented 2 years ago

Cloning into 'mediacms'... remote: Enumerating objects: 2034, done. remote: Counting objects: 100% (1939/1939), done. remote: Compressing objects: 100% (1176/1176), done. remote: Total 2034 (delta 849), reused 1657 (delta 713), pack-reused 95 Receiving objects: 100% (2034/2034), 12.64 MiB | 15.12 MiB/s, done. Resolving deltas: 100% (852/852), done. root@vmi494604:/# cd mediacms root@vmi494604:/mediacms# docker-compose up ERROR: The Compose file './docker-compose.yaml' is invalid because: services.migrations.depends_on contains an invalid type, it should be an array

mgogoulos commented 2 years ago

Hi, this indicates that you are using an older version of docker-compose

Can you check what is the output of docker-compose -v? You have to upgrade to a new version, eg 1.29.2, check the docker + docker compose instructions on

https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#3-docker-installation