openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

🔨(backend) migration docker compose #2353

Closed rlecellier closed 3 months ago

rlecellier commented 3 months ago

docker-compose command doesn't work anymore. we need to switch to docker compose

git grep -rl docker-compose . | xargs sed -i 's/docker-compose/docker compose/g'
git grep -rl "docker compose file" . | xargs sed -i 's/docker compose file/docker-compose file/g'
git grep -rl "../docker compose.yml" . | xargs sed -i 's/docker compose.yml/docker-compose.yml/g'

migration:

$ make down
$ docker-compose down
$ make boostrap
$ make stop && make run # postgresql seems to take time to initialize and need a reboot
$ make migrate
$ make demo-site
jbpenrath commented 3 months ago

You should also remove the property version into the docker-compose files (at the root of the repo and within the cookiecutter project)