feat(config) : set upload limits to 50MB and add uploads volume

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 18:02:09 +01:00
parent bfffbe7041
commit a36cd92a7f
3 changed files with 9 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ services:
- ./docker/php/config/php.ini:/usr/local/etc/php/php.ini
- ./docker/php/config/docker-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
- ./LOG:/var/www/html/LOG
- uploads_data:/var/www/html/var/uploads
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
@@ -56,3 +57,4 @@ services:
restart: unless-stopped
volumes:
pg_data:
uploads_data:

View File

@@ -5,6 +5,8 @@ server {
root /var/www/html/frontend/dist;
index index.html;
client_max_body_size 55m;
location ^~ /api/ {
root /var/www/html/public;
try_files $uri /index.php?$query_string;

View File

@@ -1,4 +1,8 @@
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Paris
date.timezone = Europe/Paris
[Upload]
upload_max_filesize = 50M
post_max_size = 55M