Files
stiftung-management-system/deploy-production-archived/fix-paths.sh
Stiftung Development a6559daeb1 Clean up docker-compose configuration
- Archive deploy-production directory as deploy-production-archived (legacy)
- Add DOCKER_COMPOSE_README.md for documentation
- Main configuration now uses compose.yml with working Paperless integration
- Paperless API URL configured as https://vhtv-stiftung.de/paperless
2025-09-17 13:19:35 +02:00

13 lines
450 B
Bash

#!/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"