Fix: Upload-Limit auf 20 MB erhöhen

This commit is contained in:
fds2610-bot 2026-04-10 19:32:59 +02:00
parent f737aff212
commit dcfb0cc424
4 changed files with 26 additions and 0 deletions

View file

@ -2,6 +2,14 @@
---
## 2026-04-10 – Upload-Limit auf 20 MB erhöht
### Geändert
- `php/uploads.ini`: `upload_max_filesize` und `post_max_size` auf 20 MB gesetzt (zuvor PHP-Standard 2 MB)
- `Dockerfile`: bindet `php/uploads.ini` als PHP-Konfiguration ein
---
## 2026-04-10 – Belegtext-Speicherung für spätere Volltextsuche
### Neu

View file

@ -28,6 +28,9 @@ RUN composer install --no-dev --no-interaction --optimize-autoloader 2>/dev/null
# Copy application
COPY . .
# PHP configuration
COPY php/uploads.ini /usr/local/etc/php/conf.d/uploads.ini
# Apache configuration
COPY apache/steuerkram.conf /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite headers

View file

@ -149,6 +149,19 @@ ports:
- "9090:80" # Beispiel: Port 9090 auf dem Host
```
## Upload-Limit anpassen
Die maximale Dateigröße für Beleganhänge ist auf **20 MB** voreingestellt (`php/uploads.ini`). Um das Limit zu ändern, die Werte in dieser Datei anpassen und den Container neu bauen:
```ini
upload_max_filesize = 20M
post_max_size = 20M
```
```bash
docker compose up -d --build
```
## Datenpersistenz
| Pfad | Inhalt |

2
php/uploads.ini Normal file
View file

@ -0,0 +1,2 @@
upload_max_filesize = 20M
post_max_size = 20M