Compare commits
1 Commits
v1.0.0-beta.3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 757cd1ca9e |
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
; Keep above Laravel validation (max:10240 = 10MB)
|
||||||
|
upload_max_filesize = 12M
|
||||||
|
post_max_size = 12M
|
||||||
Reference in New Issue
Block a user