Skip to content

Commit

Permalink
internal/increase-server-memory-limit (#411)
Browse files Browse the repository at this point in the history
* Update docker-compose-rest.yml

Increase memory limit to 4GB

* Load JAVA_OPTS from the .env file.
  • Loading branch information
milanmajchrak authored Jan 4, 2024
1 parent 4e6c290 commit 051adab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose-rest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
restart: unless-stopped
container_name: dspace${INSTANCE}
environment:
JAVA_OPTS: ${JAVA_OPTS:--Xmx4g}
TZ: ${TIMEZONE:-Europe/Bratislava}
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
Expand Down

0 comments on commit 051adab

Please sign in to comment.