Skip to content

Commit

Permalink
Make SOLR_HOCR_PLUGIN_PATH available to php-fpm
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Jul 30, 2024
1 parent afaf688 commit 6e7797e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ ENV \
PHP_POST_MAX_SIZE=128M \
PHP_PROCESS_CONTROL_TIMEOUT=60 \
PHP_REQUEST_TERMINATE_TIMEOUT=60 \
PHP_UPLOAD_MAX_FILESIZE=128M
PHP_UPLOAD_MAX_FILESIZE=128M \
SOLR_HOCR_PLUGIN_PATH=/opt/solr/server/solr/contrib/ocrhighlighting/lib

COPY --link rootfs /
2 changes: 2 additions & 0 deletions nginx/rootfs/etc/confd/templates/www.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -436,3 +436,5 @@ clear_env = yes
;php_admin_value[error_log] = /var/log/php83/$pool.error.log
;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M

env['SOLR_HOCR_PLUGIN_PATH'] = {{ getenv "SOLR_HOCR_PLUGIN_PATH" }}

0 comments on commit 6e7797e

Please sign in to comment.