DONE: increase limit size for activity (#17)
Build Docker Image / build-backend (push) Successful in 1m34s
Build Docker Image / build-frontend (push) Successful in 8s

Co-authored-by: ISMAIL MASSERAN <topaz@ISMAILs-Macbook.local>
Reviewed-on: #17
This commit was merged in pull request #17.
This commit is contained in:
2026-08-11 15:01:12 +08:00
parent 820f8e46d9
commit 757cd1ca9e
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
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)
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
+3
View File
@@ -0,0 +1,3 @@
; Keep above Laravel validation (max:10240 = 10MB)
upload_max_filesize = 12M
post_max_size = 12M