DONE: increase limit size for activity

This commit is contained in:
ISMAIL MASSERAN
2026-08-11 15:00:49 +08:00
parent 820f8e46d9
commit 8656ba6cad
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -163,6 +163,9 @@ COPY --from=builder /usr/local/bin/docker-php-ext-* /usr/local/bin/
# Use the recommended production PHP configuration # Use the recommended production PHP configuration
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
# Custom PHP overrides (upload limits, etc.) — official image loads conf.d/*.ini
COPY be/docker/common/unified/php/uploads.ini /usr/local/etc/php/conf.d/uploads.ini
# Enable PHP-FPM status page via separate config file (avoid modifying zz-docker.conf) # Enable PHP-FPM status page via separate config file (avoid modifying zz-docker.conf)
RUN echo '[www]' > /usr/local/etc/php-fpm.d/zzz-status.conf && \ RUN echo '[www]' > /usr/local/etc/php-fpm.d/zzz-status.conf && \
echo 'pm.status_path = /status' >> /usr/local/etc/php-fpm.d/zzz-status.conf echo 'pm.status_path = /status' >> /usr/local/etc/php-fpm.d/zzz-status.conf
+3
View File
@@ -0,0 +1,3 @@
; Keep above Laravel validation (max:10240 = 10MB)
upload_max_filesize = 12M
post_max_size = 12M