mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-08 03:07:14 +02:00
• Docs: updated to MAGENTO_VOLUME; removed Installation/User_Administration guides • Compose: volume path → /var/www/html; switched variables to MAGENTO_*/MYSQL_*/OPENSEARCH_* • Env: new variable set + APACHE_SERVERNAME • Task: setup:install via docker compose exec (multiline form) • Schema: removed obsolete credentials definition Link: https://chatgpt.com/share/68b8dc30-361c-800f-aa69-88df514cb160
750 B
750 B
🔼 Upgrade
Always back up the database and the
MAGENTO_VOLUME
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