mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 03:07:14 +02:00
- add role files (docs, vars, config, tasks, schema, templates) - networks: add web-app-magento 192.168.103.208/28 - ports: add localhost http 8052 Conversation: https://chatgpt.com/share/68b8820f-f864-800f-8819-da509b99cee2
748 B
748 B
🔼 Upgrade
Always back up the database and the
magento_data
volume before upgrades.
- Update images/versions in the application config (
roles/web-app-magento/config/main.yml
or inventory overrides). - Recreate containers:
cd {{ PATH_DOCKER_COMPOSE_INSTANCES }}magento/ docker compose pull docker compose up -d --remove-orphans
- Run upgrade routines:
docker compose exec -it application bin/magento maintenance:enable docker compose exec -it application bin/magento setup:upgrade docker compose exec -it application bin/magento setup:di:compile docker compose exec -it application bin/magento cache:flush docker compose exec -it application bin/magento maintenance:disable