#!/bin/bash
# Quick fix for remaining volume paths in docker-compose.prod.yml

cd /opt/stiftung
git pull

# Fix remaining volume paths in docker-compose.prod.yml
sed -i 's|./app/media|../app/media|g' deploy-production/docker-compose.prod.yml
sed -i 's|./backups|../app/backups|g' deploy-production/docker-compose.prod.yml

echo "✅ Volume paths fixed!"
echo "Now you can run: cd deploy-production && docker-compose -f docker-compose.prod.yml up -d"
