Skip to content

Commit

Permalink
cantaloupe java opts to fix jai processor for tiffs (#326)
Browse files Browse the repository at this point in the history
* cantaloupe java opts to fix jai processor for tiffs

* Update cantaloupe/rootfs/etc/s6-overlay/s6-rc.d/cantaloupe/run

allow java opts params

Co-authored-by: Joe Corall <[email protected]>

* Add Cantaloupe_Java_opts variable

* CANTALOUPE_JAVA_OPTS add to readme

* Update cantaloupe/rootfs/etc/s6-overlay/s6-rc.d/cantaloupe/run

remove quotes around new variable

Co-authored-by: Joe Corall <[email protected]>

---------

Co-authored-by: Joe Corall <[email protected]>
  • Loading branch information
noahwsmith and joecorall authored Apr 19, 2024
1 parent 3ad2d55 commit d7d2e1d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cantaloupe/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ ENV \
CANTALOUPE_HTTPSOURCE_CHUNKING_ENABLED="true" \
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY="BasicLookupStrategy" \
CANTALOUPE_HTTPSOURCE_REQUEST_TIMEOUT= \
CANTALOUPE_JAVA_OPTS= \
CANTALOUPE_JDBCCACHE_CONNECTION_TIMEOUT="10" \
CANTALOUPE_JDBCCACHE_DERIVATIVE_IMAGE_TABLE="derivative_cache" \
CANTALOUPE_JDBCCACHE_INFO_TABLE="info_cache" \
Expand Down
1 change: 1 addition & 0 deletions cantaloupe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ additional settings, volumes, ports, etc.
| CANTALOUPE_HTTPSOURCE_CHUNKING_ENABLED | "true" |
| CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY | "BasicLookupStrategy" |
| CANTALOUPE_HTTPSOURCE_REQUEST_TIMEOUT | |
| CANTALOUPE_JAVA_OPTS | |
| CANTALOUPE_JDBCCACHE_CONNECTION_TIMEOUT | "10" |
| CANTALOUPE_JDBCCACHE_DERIVATIVE_IMAGE_TABLE | "derivative_cache" |
| CANTALOUPE_JDBCCACHE_INFO_TABLE | "info_cache" |
Expand Down
2 changes: 1 addition & 1 deletion cantaloupe/rootfs/etc/s6-overlay/s6-rc.d/cantaloupe/run
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e
# actually can write to the folder.
chown cantaloupe:cantaloupe /data

exec with-contenv s6-setuidgid cantaloupe java -Dcantaloupe.config=/opt/cantaloupe/cantaloupe.properties -Xms"${CANTALOUPE_HEAP_MIN}" -Xmx"${CANTALOUPE_HEAP_MAX}" -jar /opt/cantaloupe/cantaloupe.jar
exec with-contenv s6-setuidgid cantaloupe java -Dcantaloupe.config=/opt/cantaloupe/cantaloupe.properties -Xms"${CANTALOUPE_HEAP_MIN}" -Xmx"${CANTALOUPE_HEAP_MAX}" ${CANTALOUPE_JAVA_OPTS} -jar /opt/cantaloupe/cantaloupe.jar

0 comments on commit d7d2e1d

Please sign in to comment.