Files
michaelschiemer/docker/php/docker-entrypoint.sh
Michael Schiemer 55a330b223 Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug
- Add DISCOVERY_SHOW_PROGRESS=true
- Temporary changes for debugging InitializerProcessor fixes on production
2025-08-11 20:13:26 +02:00

21 lines
622 B
Bash

#!/bin/bash
# Ensure storage directories exist and have correct permissions
mkdir -p /var/www/html/storage/analytics \
/var/www/html/storage/logs \
/var/www/html/storage/cache \
/var/www/html/var/cache \
/var/www/html/var/logs \
/var/www/html/cache
# Set correct ownership and permissions for appuser
chown -R appuser:appuser /var/www/html/storage \
/var/www/html/var \
/var/www/html/cache
chmod -R 775 /var/www/html/storage \
/var/www/html/var \
/var/www/html/cache
exec "$@"