From c89803eb6bde2e7b527a15b34211bc580b25bcd9 Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Thu, 7 Nov 2024 11:38:35 -0500 Subject: [PATCH] IIIF #68 - Adding "JAVA_OPTS" environment variable for Docker config; Updating to pass "S3_ENDPOINT" environment variable to "cantaloupe" service --- .env.example | 4 ++++ docker-compose.yml | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 8531230..1a09d9f 100644 --- a/.env.example +++ b/.env.example @@ -34,6 +34,10 @@ CANTELOUPE_ADMIN_PASSWORD=mySecret # on the canteloupe installation CANTELOUPE_ADMIN_ENABLED=true +# Set to configure the Java opts to pass to the +# Cantalope service +CANTALOUPE_JAVA_OPTS=-Xmx4g + # The hostname for the canteloupe server IIIF_HOST=http://example.com diff --git a/docker-compose.yml b/docker-compose.yml index 4a8ccee..a9af549 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,8 @@ services: - CANTALOUPE_S3SOURCE_SECRET_KEY=$AWS_SECRET_ACCESS_KEY - CANTALOUPE_S3SOURCE_BASICLOOKUPSTRATEGY_BUCKET_NAME=$AWS_BUCKET_NAME - CANTALOUPE_S3SOURCE_REGION=$AWS_REGION -# - CANTALOUPE_S3SOURCE_ENDPOINT=$S3_ENDPOINT + - CANTALOUPE_S3SOURCE_ENDPOINT=$S3_ENDPOINT + - JAVA_OPTS=$CANTELOUPE_JAVA_OPTS iiif_cloud: build: . depends_on: