Fix: Configure Laravel to use /app/data/storage
- Created laravel-paths.php to override storage path - Patched bootstrap/app.php to load custom paths - Removed symlink approach as /app/code is read-only - Laravel will now use /app/data/storage directly
This commit is contained in:
3
start.sh
3
start.sh
@@ -14,9 +14,6 @@ fi
|
||||
chown -R cloudron:cloudron /app/data
|
||||
chmod -R 755 /app/data/storage
|
||||
|
||||
# Create symlink from /app/code/storage to /app/data/storage
|
||||
ln -sf /app/data/storage /app/code/storage
|
||||
|
||||
# Create .env file in /app/data
|
||||
echo "==> Configuring application environment"
|
||||
cat > /app/data/.env <<EOF
|
||||
|
||||
Reference in New Issue
Block a user